> For the complete documentation index, see [llms.txt](https://developers.unigox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.unigox.com/api-reference/recipients.md).

# Recipients

Register and manage third parties paid by KYC-verified senders

## List recipients

> Lists third parties registered by the authenticated partner. A recipient is the person or\
> business a KYC-verified sender pays; it is not the sender's own payment profile.\
> Results are tenant-scoped and never expose an unmasked account number.<br>

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}},"schemas":{"APIResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful"},"data":{"description":"Response data (structure varies by endpoint) or error information if success is false"}}},"PartnerRecipientListResponse":{"type":"object","required":["recipients","total","limit","offset"],"properties":{"recipients":{"type":"array","items":{"$ref":"#/components/schemas/PartnerRecipient"}},"total":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":1},"offset":{"type":"integer","minimum":0}}},"PartnerRecipient":{"type":"object","required":["id","kind","recipient_name","recipient_country","lifecycle","version","screening_status","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["individual","business"]},"recipient_name":{"type":"string"},"recipient_native_name":{"type":"string","nullable":true},"recipient_country":{"type":"string"},"recipient_id_type":{"type":"string","nullable":true},"recipient_id_number":{"type":"string","nullable":true,"description":"Masked partner-visible identity value; full value is never returned."},"recipient_business_registration_number":{"type":"string","nullable":true,"description":"Masked when returned."},"lifecycle":{"type":"string","enum":["draft","active","archived"]},"version":{"type":"integer","minimum":1},"screening_status":{"type":"string","enum":["pending","cleared","hit","manual_review"]},"screened_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/partner/recipients":{"get":{"tags":["Recipients"],"summary":"List recipients","description":"Lists third parties registered by the authenticated partner. A recipient is the person or\nbusiness a KYC-verified sender pays; it is not the sender's own payment profile.\nResults are tenant-scoped and never expose an unmasked account number.\n","operationId":"listPartnerRecipients","parameters":[{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by recipient name or partner-visible identifier."},{"in":"query","name":"screening_status","schema":{"type":"string"}},{"in":"query","name":"recipient_country","schema":{"type":"string","minLength":2,"maxLength":2}},{"in":"query","name":"currency","schema":{"type":"string","minLength":3,"maxLength":3}},{"in":"query","name":"rail","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Recipients returned","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerRecipientListResponse"}}}]}}}},"401":{"description":"Partner not authenticated"},"500":{"description":"Internal Server Error"}}}}}}
```

## Register a recipient

> Registers a partner-scoped third-party recipient identity. Add payout destinations\
> separately with \`POST /recipients/{recipient\_id}/destinations\`.\
> Vendor-specific terms such as beneficiary or receiver are intentionally absent.<br>

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}},"schemas":{"PartnerCreateRecipientRequest":{"type":"object","required":["recipient_name","recipient_country"],"properties":{"recipient_kind":{"type":"string","enum":["individual","business"],"default":"individual"},"recipient_name":{"type":"string"},"recipient_native_name":{"type":"string"},"recipient_country":{"type":"string","minLength":2,"maxLength":2},"recipient_id_type":{"type":"string"},"recipient_id_number":{"type":"string","writeOnly":true},"recipient_business_registration_number":{"type":"string","writeOnly":true}}},"APIResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful"},"data":{"description":"Response data (structure varies by endpoint) or error information if success is false"}}},"PartnerRecipientResponse":{"type":"object","required":["recipient"],"properties":{"recipient":{"$ref":"#/components/schemas/PartnerRecipient"},"recipient_destination":{"allOf":[{"$ref":"#/components/schemas/PartnerRecipientDestination"}],"nullable":true}}},"PartnerRecipient":{"type":"object","required":["id","kind","recipient_name","recipient_country","lifecycle","version","screening_status","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["individual","business"]},"recipient_name":{"type":"string"},"recipient_native_name":{"type":"string","nullable":true},"recipient_country":{"type":"string"},"recipient_id_type":{"type":"string","nullable":true},"recipient_id_number":{"type":"string","nullable":true,"description":"Masked partner-visible identity value; full value is never returned."},"recipient_business_registration_number":{"type":"string","nullable":true,"description":"Masked when returned."},"lifecycle":{"type":"string","enum":["draft","active","archived"]},"version":{"type":"integer","minimum":1},"screening_status":{"type":"string","enum":["pending","cleared","hit","manual_review"]},"screened_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"PartnerRecipientDestination":{"type":"object","required":["id","recipient_id","payment_method_id","payment_network_id","country_code","currency","version","lifecycle","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"recipient_id":{"type":"string","format":"uuid"},"payment_method_id":{"type":"integer","format":"int64"},"payment_network_id":{"type":"integer","format":"int64"},"country_code":{"type":"string","minLength":2,"maxLength":2},"currency":{"type":"string"},"details":{"type":"object","additionalProperties":true,"description":"The rail's own fields, as submitted. On reads, values that identify an account or a person are masked to last-4 (`account_number`, `bank_account_number`, `iban`, `card_number`, `id_number`, `national_id`, `tax_id`, `mobile_number`, `phone_number`, `msisdn`); everything else — names, `bank_name`, `province`, `branch`, routing codes, `beneficiary_type` — is returned in full so destinations stay distinguishable."},"version":{"type":"integer","minimum":1},"lifecycle":{"type":"string","enum":["active","archived"]},"created_at":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/partner/recipients":{"post":{"tags":["Recipients"],"summary":"Register a recipient","description":"Registers a partner-scoped third-party recipient identity. Add payout destinations\nseparately with `POST /recipients/{recipient_id}/destinations`.\nVendor-specific terms such as beneficiary or receiver are intentionally absent.\n","operationId":"createPartnerRecipient","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCreateRecipientRequest"}}}},"responses":{"200":{"description":"Recipient registered","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerRecipientResponse"}}}]}}}},"400":{"description":"Invalid recipient. `error.message` names what to fix; `error.details.reason` carries a\nstable machine slug. Screening runs asynchronously AFTER creation, so it never rejects\nhere — a recipient is created with `screening_status: pending` and becomes usable for a\nquote only once it reaches `cleared`.\n"},"401":{"description":"Partner not authenticated"},"500":{"description":"Internal Server Error"},"503":{"description":"Recipient directory unreachable. The request was not wrong; retry with backoff."}}}}}}
```

## GET /api/v1/partner/recipients/{recipient\_id}

> Get recipient

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}},"schemas":{"APIResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful"},"data":{"description":"Response data (structure varies by endpoint) or error information if success is false"}}},"PartnerRecipientResponse":{"type":"object","required":["recipient"],"properties":{"recipient":{"$ref":"#/components/schemas/PartnerRecipient"},"recipient_destination":{"allOf":[{"$ref":"#/components/schemas/PartnerRecipientDestination"}],"nullable":true}}},"PartnerRecipient":{"type":"object","required":["id","kind","recipient_name","recipient_country","lifecycle","version","screening_status","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["individual","business"]},"recipient_name":{"type":"string"},"recipient_native_name":{"type":"string","nullable":true},"recipient_country":{"type":"string"},"recipient_id_type":{"type":"string","nullable":true},"recipient_id_number":{"type":"string","nullable":true,"description":"Masked partner-visible identity value; full value is never returned."},"recipient_business_registration_number":{"type":"string","nullable":true,"description":"Masked when returned."},"lifecycle":{"type":"string","enum":["draft","active","archived"]},"version":{"type":"integer","minimum":1},"screening_status":{"type":"string","enum":["pending","cleared","hit","manual_review"]},"screened_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"PartnerRecipientDestination":{"type":"object","required":["id","recipient_id","payment_method_id","payment_network_id","country_code","currency","version","lifecycle","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"recipient_id":{"type":"string","format":"uuid"},"payment_method_id":{"type":"integer","format":"int64"},"payment_network_id":{"type":"integer","format":"int64"},"country_code":{"type":"string","minLength":2,"maxLength":2},"currency":{"type":"string"},"details":{"type":"object","additionalProperties":true,"description":"The rail's own fields, as submitted. On reads, values that identify an account or a person are masked to last-4 (`account_number`, `bank_account_number`, `iban`, `card_number`, `id_number`, `national_id`, `tax_id`, `mobile_number`, `phone_number`, `msisdn`); everything else — names, `bank_name`, `province`, `branch`, routing codes, `beneficiary_type` — is returned in full so destinations stay distinguishable."},"version":{"type":"integer","minimum":1},"lifecycle":{"type":"string","enum":["active","archived"]},"created_at":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/partner/recipients/{recipient_id}":{"get":{"tags":["Recipients"],"summary":"Get recipient","operationId":"getPartnerRecipient","responses":{"200":{"description":"Recipient returned","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerRecipientResponse"}}}]}}}},"404":{"description":"Recipient not found for this partner"}}}}}}
```

## Archive recipient

> Archives the recipient for future use. Existing immutable order snapshots remain auditable.

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}}},"paths":{"/api/v1/partner/recipients/{recipient_id}":{"delete":{"tags":["Recipients"],"summary":"Archive recipient","description":"Archives the recipient for future use. Existing immutable order snapshots remain auditable.","operationId":"archivePartnerRecipient","responses":{"200":{"description":"Recipient archived"},"404":{"description":"Recipient not found for this partner"}}}}}}
```

## Update recipient identity

> Updates recipient identity by creating a new immutable version. Existing quotes and orders\
> keep their original snapshot; request a new quote to use the updated data.<br>

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}},"schemas":{"PartnerUpdateRecipientRequest":{"type":"object","minProperties":1,"properties":{"recipient_name":{"type":"string"},"recipient_native_name":{"type":"string"},"recipient_country":{"type":"string","minLength":2,"maxLength":2},"recipient_id_type":{"type":"string"},"recipient_id_number":{"type":"string","writeOnly":true},"recipient_business_registration_number":{"type":"string","writeOnly":true}}},"APIResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful"},"data":{"description":"Response data (structure varies by endpoint) or error information if success is false"}}},"PartnerRecipientResponse":{"type":"object","required":["recipient"],"properties":{"recipient":{"$ref":"#/components/schemas/PartnerRecipient"},"recipient_destination":{"allOf":[{"$ref":"#/components/schemas/PartnerRecipientDestination"}],"nullable":true}}},"PartnerRecipient":{"type":"object","required":["id","kind","recipient_name","recipient_country","lifecycle","version","screening_status","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["individual","business"]},"recipient_name":{"type":"string"},"recipient_native_name":{"type":"string","nullable":true},"recipient_country":{"type":"string"},"recipient_id_type":{"type":"string","nullable":true},"recipient_id_number":{"type":"string","nullable":true,"description":"Masked partner-visible identity value; full value is never returned."},"recipient_business_registration_number":{"type":"string","nullable":true,"description":"Masked when returned."},"lifecycle":{"type":"string","enum":["draft","active","archived"]},"version":{"type":"integer","minimum":1},"screening_status":{"type":"string","enum":["pending","cleared","hit","manual_review"]},"screened_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"PartnerRecipientDestination":{"type":"object","required":["id","recipient_id","payment_method_id","payment_network_id","country_code","currency","version","lifecycle","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"recipient_id":{"type":"string","format":"uuid"},"payment_method_id":{"type":"integer","format":"int64"},"payment_network_id":{"type":"integer","format":"int64"},"country_code":{"type":"string","minLength":2,"maxLength":2},"currency":{"type":"string"},"details":{"type":"object","additionalProperties":true,"description":"The rail's own fields, as submitted. On reads, values that identify an account or a person are masked to last-4 (`account_number`, `bank_account_number`, `iban`, `card_number`, `id_number`, `national_id`, `tax_id`, `mobile_number`, `phone_number`, `msisdn`); everything else — names, `bank_name`, `province`, `branch`, routing codes, `beneficiary_type` — is returned in full so destinations stay distinguishable."},"version":{"type":"integer","minimum":1},"lifecycle":{"type":"string","enum":["active","archived"]},"created_at":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/partner/recipients/{recipient_id}":{"patch":{"tags":["Recipients"],"summary":"Update recipient identity","description":"Updates recipient identity by creating a new immutable version. Existing quotes and orders\nkeep their original snapshot; request a new quote to use the updated data.\n","operationId":"updatePartnerRecipient","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUpdateRecipientRequest"}}}},"responses":{"200":{"description":"Updated recipient returned","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerRecipientResponse"}}}]}}}},"400":{"description":"Invalid update"},"404":{"description":"Recipient not found for this partner"}}}}}}
```

## List recipient destinations

> Returns masked payout destinations belonging to this recipient and partner.

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}},"schemas":{"APIResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful"},"data":{"description":"Response data (structure varies by endpoint) or error information if success is false"}}},"PartnerRecipientDestinationsResponse":{"type":"object","required":["recipient_destinations"],"properties":{"recipient_destinations":{"type":"array","items":{"$ref":"#/components/schemas/PartnerRecipientDestination"}}}},"PartnerRecipientDestination":{"type":"object","required":["id","recipient_id","payment_method_id","payment_network_id","country_code","currency","version","lifecycle","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"recipient_id":{"type":"string","format":"uuid"},"payment_method_id":{"type":"integer","format":"int64"},"payment_network_id":{"type":"integer","format":"int64"},"country_code":{"type":"string","minLength":2,"maxLength":2},"currency":{"type":"string"},"details":{"type":"object","additionalProperties":true,"description":"The rail's own fields, as submitted. On reads, values that identify an account or a person are masked to last-4 (`account_number`, `bank_account_number`, `iban`, `card_number`, `id_number`, `national_id`, `tax_id`, `mobile_number`, `phone_number`, `msisdn`); everything else — names, `bank_name`, `province`, `branch`, routing codes, `beneficiary_type` — is returned in full so destinations stay distinguishable."},"version":{"type":"integer","minimum":1},"lifecycle":{"type":"string","enum":["active","archived"]},"created_at":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/partner/recipients/{recipient_id}/destinations":{"get":{"tags":["Recipients"],"summary":"List recipient destinations","description":"Returns masked payout destinations belonging to this recipient and partner.","operationId":"listPartnerRecipientDestinations","parameters":[{"in":"path","name":"recipient_id","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Masked destinations returned","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerRecipientDestinationsResponse"}}}]}}}},"404":{"description":"Recipient not found for this partner"}}}}}}
```

## Add a recipient destination

> Adds a payout route for this recipient. \`rail\` and \`institution\_id\` are resolved to\
> the platform payment-network and payment-method IDs. \`details\` is validated against\
> the selected rail configuration. Relationship and purpose are supplied later on the quote.\
> \
> \`country\_code\`, \`currency\`, \`rail\`, \`institution\_id\` and \`details\` are all required, on\
> every rail. Unlike a customer's own payment details, \`institution\_id\` cannot be omitted on a\
> rail that reports \`institution\_required: false\`: on \`alipay-wallet\` send \`alipay\`, on\
> \`wechat-wallet\` send \`wechat-pay\`. A request missing any of the five answers \`400\
> INVALID\_REQUEST\` with the message \`invalid recipient destination request body\`, which does\
> not name the field.\
> \
> \*\*The recipient's kind picks the format.\*\* On a rail with an individual and a business\
> format (\`cnaps-bank\` and \`cnaps-bank\_business\`), a recipient registered with\
> \`recipient\_kind: business\` is validated against the business format and one registered as\
> \`individual\` against the individual format. \`details.beneficiary\_type\` does not choose: it\
> is overwritten with the recipient's kind and returned that way. A wallet rail has no\
> business format, so a business recipient cannot hold a wallet destination.\
> \
> \*\*Names on the wallet rails.\*\* \`alipay-wallet\` and \`wechat-wallet\` take \`first\_name\`,\
> \`last\_name\`, \`account\_number\` and \`mobile\_number\`, as \`/api/v1/supported/payment-rails\`\
> advertises. A \`full\_name\` is still accepted from older integrations and split at the first\
> space: the first word becomes \`first\_name\`, the rest \`last\_name\`. \`"Li Wei"\` is stored as\
> \`first\_name: "Li"\`, \`last\_name: "Wei"\`. Send the two halves yourself to control the order; a\
> one-word \`full\_name\` is refused.\
> \
> \*\*Chinese mobile numbers.\*\* On \`cnaps\`, \`mobile\_number\` accepts the 11-digit number with or\
> without a \`86\` or \`+86\` prefix; spaces and dashes are removed and the number is stored with\
> the prefix you sent. On the wallet rails only the bare 11 digits pass (\`13800138000\`). Send\
> the bare 11 digits on every rail.<br>

```json
{"openapi":"3.0.3","info":{"title":"Unigox API Gateway","version":"1.0.0"},"tags":[{"name":"Recipients","description":"Register and manage third parties paid by KYC-verified senders"}],"servers":[{"url":"https://api-staging.unigox.com","description":"Sandbox server"},{"url":"https://api.unigox.com","description":"Production server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Partner API key for authentication. Required for all partner account endpoints."}},"schemas":{"PartnerRecipientDestinationInput":{"type":"object","required":["country_code","currency","rail","institution_id","details"],"properties":{"country_code":{"type":"string","minLength":2,"maxLength":2},"currency":{"type":"string","minLength":3,"maxLength":3},"rail":{"type":"string"},"institution_id":{"type":"string","description":"Institution identifier returned by the supported-institutions endpoint. Required on every rail, including the wallet rails that report `institution_required: false`: send `alipay` on `alipay-wallet` and `wechat-pay` on `wechat-wallet`."},"details":{"type":"object","additionalProperties":true,"description":"Rail-specific fields validated using the selected payment network configuration: the `fields` of the format `/api/v1/supported/payment-rails` advertises for this institution's type. On a rail with a business format, the recipient's `recipient_kind` selects the individual or business format; `beneficiary_type` sent here is replaced by it."}}},"APIResponse":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Indicates if the request was successful"},"data":{"description":"Response data (structure varies by endpoint) or error information if success is false"}}},"PartnerRecipientDestination":{"type":"object","required":["id","recipient_id","payment_method_id","payment_network_id","country_code","currency","version","lifecycle","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"recipient_id":{"type":"string","format":"uuid"},"payment_method_id":{"type":"integer","format":"int64"},"payment_network_id":{"type":"integer","format":"int64"},"country_code":{"type":"string","minLength":2,"maxLength":2},"currency":{"type":"string"},"details":{"type":"object","additionalProperties":true,"description":"The rail's own fields, as submitted. On reads, values that identify an account or a person are masked to last-4 (`account_number`, `bank_account_number`, `iban`, `card_number`, `id_number`, `national_id`, `tax_id`, `mobile_number`, `phone_number`, `msisdn`); everything else — names, `bank_name`, `province`, `branch`, routing codes, `beneficiary_type` — is returned in full so destinations stay distinguishable."},"version":{"type":"integer","minimum":1},"lifecycle":{"type":"string","enum":["active","archived"]},"created_at":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/partner/recipients/{recipient_id}/destinations":{"post":{"tags":["Recipients"],"summary":"Add a recipient destination","description":"Adds a payout route for this recipient. `rail` and `institution_id` are resolved to\nthe platform payment-network and payment-method IDs. `details` is validated against\nthe selected rail configuration. Relationship and purpose are supplied later on the quote.\n\n`country_code`, `currency`, `rail`, `institution_id` and `details` are all required, on\nevery rail. Unlike a customer's own payment details, `institution_id` cannot be omitted on a\nrail that reports `institution_required: false`: on `alipay-wallet` send `alipay`, on\n`wechat-wallet` send `wechat-pay`. A request missing any of the five answers `400\nINVALID_REQUEST` with the message `invalid recipient destination request body`, which does\nnot name the field.\n\n**The recipient's kind picks the format.** On a rail with an individual and a business\nformat (`cnaps-bank` and `cnaps-bank_business`), a recipient registered with\n`recipient_kind: business` is validated against the business format and one registered as\n`individual` against the individual format. `details.beneficiary_type` does not choose: it\nis overwritten with the recipient's kind and returned that way. A wallet rail has no\nbusiness format, so a business recipient cannot hold a wallet destination.\n\n**Names on the wallet rails.** `alipay-wallet` and `wechat-wallet` take `first_name`,\n`last_name`, `account_number` and `mobile_number`, as `/api/v1/supported/payment-rails`\nadvertises. A `full_name` is still accepted from older integrations and split at the first\nspace: the first word becomes `first_name`, the rest `last_name`. `\"Li Wei\"` is stored as\n`first_name: \"Li\"`, `last_name: \"Wei\"`. Send the two halves yourself to control the order; a\none-word `full_name` is refused.\n\n**Chinese mobile numbers.** On `cnaps`, `mobile_number` accepts the 11-digit number with or\nwithout a `86` or `+86` prefix; spaces and dashes are removed and the number is stored with\nthe prefix you sent. On the wallet rails only the bare 11 digits pass (`13800138000`). Send\nthe bare 11 digits on every rail.\n","operationId":"createPartnerRecipientDestination","parameters":[{"in":"path","name":"recipient_id","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerRecipientDestinationInput"}}}},"responses":{"200":{"description":"Destination created","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerRecipientDestination"}}}]}}}},"400":{"description":"The destination was rejected (`INVALID_REQUEST`). When a top-level field is missing or\nthe body is not JSON the message is `invalid recipient destination request body` and\nnames nothing; check `country_code`, `currency`, `rail`, `institution_id` and `details`.\nOtherwise `error.message` is the validator's own diagnostic. It names the rail, the\ninstitution and the format the details were measured against, then every problem at once\n— e.g. `unknown fields for this format: company_name, company_name_native` when company\nfields are sent for an `individual` recipient, `missing required fields: ...`, or\n`field 'mobile_number' does not match the required pattern` — and `error.details.reason`\ncarries a machine slug such as `invalid_destination_details` or `unknown_institution`.\n"},"404":{"description":"Recipient not found for this partner"},"503":{"description":"Recipient directory unreachable. The request was not wrong; retry with backoff."}}}}}}
```
