Request payout setup for an eligible payee
/api/partner/v1/payees/{id}/setup-requestsFor a company, send an email to its verified owner inviting them to complete secure setup in the portal. The response tracks submission. Omit recipient details. For the authenticated partner’s own payee ID, the response instead contains its hosted setup URL. The literal me path also opens the partner’s own setup. Available to the authorized partner owner.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
idpath · required · stringSupply the company payee_id from payment-status or the authenticated partner’s own payee ID.
Idempotency-Keyheader · required · string · max length 128Choose a unique key for this intended action. Retry the same method, path, query and body with the original key. Replays return an operation receipt.
Request body
application/json
channelemail
Example
{
"channel": "email"
}Responses
200 · Hosted setup for the partner’s own payee, an existing company notice, or a completed receipt. An identical replay receives a receipt. Check its http_status and result, then retrieve the resource. A processing or reconcile receipt returns 202.
Response headers include X-Request-Id.
application/json
Format 1
Format 1
payee_idstring · requiredurlstring · uri · required
Format 2
idstring · requiredcompany_idstring · requiredfeedback_idstring or null · requiredkindcoaching | payee_setup · requiredstatussending | sent | reconcile | failed · requiredcreated_atstring · date-time · requiredupdated_atstring · date-time · required
Format 2
request_idstring · requiredstatecomplete | processing | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
Example
{
"payee_id": "partner_demo",
"url": "https://example.invalid/payee-setup"
}201 · Company owner setup notice submitted.
Response headers include X-Request-Id.
application/json
idstring · requiredcompany_idstring · requiredfeedback_idstring or null · requiredkindcoaching | payee_setup · requiredstatussending | sent | reconcile | failed · requiredcreated_atstring · date-time · requiredupdated_atstring · date-time · required
Example
{
"id": "delivery_payee_demo",
"company_id": "org_demo",
"feedback_id": null,
"kind": "payee_setup",
"status": "sent",
"created_at": "2031-04-09T18:07:00Z",
"updated_at": "2031-04-09T18:07:01Z"
}202 · Company setup notice is awaiting reconciliation. An identical replay receives a receipt. Check its http_status and result, then retrieve the resource. A processing or reconcile receipt returns 202.
Response headers include X-Request-Id.
application/json
Format 1
idstring · requiredcompany_idstring · requiredfeedback_idstring or null · requiredkindcoaching | payee_setup · requiredstatussending | sent | reconcile | failed · requiredcreated_atstring · date-time · requiredupdated_atstring · date-time · required
Format 2
request_idstring · requiredstatecomplete | processing | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
Example
{
"id": "delivery_payee_demo",
"company_id": "org_demo",
"feedback_id": null,
"kind": "payee_setup",
"status": "reconcile",
"created_at": "2031-04-09T18:07:00Z",
"updated_at": "2031-04-09T18:07:01Z"
}400 · Invalid input. On writes, check the JSON object and Idempotency-Key.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "invalid_input"
}401 · Use a valid access token for this resource and the partner.lifecycle scope.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "unauthorized"
}403 · The partner owner needs an active grant.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "no_access"
}404 · The requested resource, company or month could not be found within the caller’s scope.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "not_found"
}409 · The company is ready or uses manual payments, a recipient is unavailable, a delivery is recent or unresolved, or the request key conflicts.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "already_set_up"
}413 · The request body exceeds the permitted size.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "request_too_large"
}422 · The requested message cannot be sent.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "message_not_allowed"
}429 · The grant has reached its request limit.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "too_many_requests"
}503 · Email is temporarily unavailable or the operation requires reconciliation.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "mail_unavailable"
}