GET
/
v1
/
payouts
/
code
/
{code}
curl https://api-eu.sulpayments.ch/v1/payouts/code/PIX-001 \
  -H "Authorization: Bearer {token}"
{
  "id": 1234,
  "partner_code": "PIX-001",
  "value": 1000.00,
  "status": "done"
}
Returns either a merchant payout or a platform payout depending on the code.

Headers

Authorization
string
required
Bearer {token}

Path

code
string
required
The partner_code you supplied when creating the payout.

Response

Same shape as GET /v1/payouts/.
curl https://api-eu.sulpayments.ch/v1/payouts/code/PIX-001 \
  -H "Authorization: Bearer {token}"
{
  "id": 1234,
  "partner_code": "PIX-001",
  "value": 1000.00,
  "status": "done"
}