Open the partner owner’s hosted payout setup
POST
/api/partner/v1/payees/me/setup-requestsUse the hosted URL to complete or update the authenticated partner owner’s own payout details. Keep the URL private. Retain it from the original response because a replay returns a receipt. Available to the authorized partner owner.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
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
Example
{}Responses
200 · Hosted payout setup for this payee. 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
payee_idstring · requiredurlstring · uri · 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"
}202 · Replay of a processing or uncertain operation. Poll its request receipt.
Response headers include X-Request-Id.
application/json
request_idstring · requiredstatecomplete | processing | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
Example
{
"request_id": "req_demo",
"state": "processing",
"http_status": null,
"result": null
}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 · This Idempotency-Key belongs to a different request.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "idempotency_key_conflict"
}413 · The request body exceeds the permitted size.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "request_too_large"
}429 · The grant has reached its request limit.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "too_many_requests"
}503 · Service temporarily unavailable. For writes, retain the original key and inspect the receipt before retrying.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "temporarily_unavailable"
}