Skip to content

List payees

GET
/v1/payees
curl --request GET \
--url https://pay.example.com/v1/payees \
--header 'Authorization: Bearer <token>'

Every payee registered in the admin console (active or not), oldest first, for splits[].payee_ref / payee_id. Recipients named by address (the split whitelist off) are not listed. Requires orders:read.

Payees

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
ref
required

Your reference, for splits[].payee_ref.

string
name
required
string
is_primary
required

The primary payee (takes the remainder and sends refunds).

boolean
active
required

Only active payees can be split to.

boolean
Examplegenerated
{
"data": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"ref": "example",
"name": "example",
"is_primary": true,
"active": true
}
]
}

unauthorized: no Authorization: Bearer header, or an unknown or revoked key.

Media typeapplication/json
object
error
required
object
code
required
string
message
required

English, for logs; may change.

string
params

Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.

object
key
additional properties
any
error
required
object
code
Allowed values: unauthorized
Example
{
"error": {
"code": "unauthorized"
}
}

insufficient_scope: the key lacks the operation’s scope.

Media typeapplication/json
object
error
required
object
code
required
string
message
required

English, for logs; may change.

string
params

Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.

object
key
additional properties
any
error
required
object
code
Allowed values: insufficient_scope
Example
{
"error": {
"code": "insufficient_scope"
}
}