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
- 200
- 401
- 403
- 404
- 409
- 422
Segment saved. Returns the draft reference with its current public status.
Missing, invalid or revoked partner key.
Partner key lacks the onboarding:write scope.
Unknown ref within your channels.
Account already active - onboarding data is no longer editable.
Validation failed, or the entity is struck off the register.