Przejdź do głównej zawartości

Set Company Data Segment

PATCH 

/api/partner/v1/onboarding/:ref/company

Sets the entity type and (for companies) the tax id and registration data on an onboarding draft. Send has_nip: false for a natural person (no other fields needed) or has_nip: true with the full company block. When a tax id is supplied, dpay enriches the draft from public registers; an entity struck off the register returns 422. This segment does not move the merchant's position in the hosted flow. Requires scope onboarding:write.

Request

Responses

Segment saved. Returns the draft reference with its current public status.