Legacy payouts /payments
/payments — kept for existing integrations.
New to this part of the API? Start with the guide: Payouts and transfers
Legacy: create a payout deprecated
/payments
🔒 Partner token
Superseded by POST /payments/v2/payout. Differences worth knowing if you still run on v1: there
is no region or currency — payouts always go from the company's Cyprus USD wallet — there is no
custom_id, and the minimum amount is 0 rather than 0.01.
If your integration may only pay its own network, this endpoint enforces it exactly like v2:
a recipient wallet of a user from another network refuses the whole request with 403 and
code 11001.
The company wallet the money leaves is not a valid recipient of its own payout — sending its number
fails validation with 422, on this endpoint and on POST /payments/debit alike.
Body
| Field | Type | Description | |
|---|---|---|---|
request_id |
string | required |
Globally unique. Reusing a value is rejected with |
data |
object[] | required |
Recipients of this payout — at most 50 per request. |
data[].wallet |
string | required |
Active recipient wallet under the same subaccountant as the company's Cyprus USD wallet. |
data[].amount |
string | required |
Decimal amount, at least 0. |
data[].description |
string | required |
Payment purpose shown on the recipient's transaction. |
data[].date |
string (date-time) |
Payment date. Defaults to now. |
Example call
curl -X POST "$BASE_URL/payments" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"request_id": "partner-legacy-2026-07-31-0001",
"data": [
{
"wallet": "4200123456",
"amount": "150.00",
"description": "July revenue share"
}
]
}'
const response = await fetch(`${baseUrl}/payments`, {
method: 'POST',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "partner-legacy-2026-07-31-0001",
"data": [
{
"wallet": "4200123456",
"amount": "150.00",
"description": "July revenue share"
}
]
}),
});
const data = await response.json();
import requests
response = requests.post(
f"{base_url}/payments",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
json={
"request_id": "partner-legacy-2026-07-31-0001",
"data": [
{
"wallet": "4200123456",
"amount": "150.00",
"description": "July revenue share"
}
]
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('POST', "{$baseUrl}/payments", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
'json' => [
'request_id' => 'partner-legacy-2026-07-31-0001',
'data' => [
[
'wallet' => '4200123456',
'amount' => '150.00',
'description' => 'July revenue share',
],
],
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Payout record created — read status to learn whether money moved
{
"data": {
"id": 15832,
"request_id": "partner-legacy-2026-07-31-0001",
"status": 2,
"err_msg": null,
"transactions": [
{
"id": 904511,
"invoice_path": "/api/transactions/904511/invoice"
},
{
"id": 904512,
"invoice_path": "/api/transactions/904512/invoice"
}
],
"oauth_client": {
"id": 42,
"mediacube_id": "mc-42",
"name": "Partner application",
"user_id": 1001,
"redirect": "https://partner.example.com/oauth/callback",
"agreement_link": "https://partner.example.com/terms",
"privacy_link": "https://partner.example.com/privacy",
"avatar": "https://partner.example.com/logo.png",
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
}
19 fields
| Field | Type | Description |
|---|---|---|
data |
object |
Same record as |
data.id |
integer | |
data.request_id |
string | |
data.status |
integer |
1 · 2 · 3
|
data.err_msg |
integer or string |
Error code when |
data.transactions |
object[] |
Unlike A paid recipient produces two entries, exactly as in |
data.transactions[].id |
integer | |
data.transactions[].invoice_path |
string |
Path to the invoice download, relative to the API host. |
data.oauth_client |
object |
Your own OAuth client, echoed back — the same service field as in |
data.oauth_client.id |
integer | |
data.oauth_client.mediacube_id |
string | |
data.oauth_client.name |
string | |
data.oauth_client.user_id |
integer | |
data.oauth_client.redirect |
string | |
data.oauth_client.agreement_link |
string | |
data.oauth_client.privacy_link |
string | |
data.oauth_client.avatar |
string | |
data.oauth_client.created_at |
string (date-time) | |
data.oauth_client.updated_at |
string (date-time) |
A missing, malformed or expired token gives {"message": "Unauthenticated."} with no numeric code.
Code 1000 appears only when the token is valid but no account is bound to the client.
{
"message": "Unauthenticated."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Numeric error code as a string — see the Errors guide. Rejections that happen before the
payment layer carry text instead ( |
A precondition failed. Which one is in the numeric code in message — the codes reachable here
depend on the endpoint, so read the operation's own description and the Errors guide rather than
assuming a fixed set. On any partner endpoint 2000 (the client's account is not a company) is
possible; endpoints that take region and currency add 11000 (no matching company wallet).
{
"message": "2000"
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Numeric error code as a string — see the Errors guide. Rejections that happen before the
payment layer carry text instead ( |
Field validation failed, including a reused request_id or an unknown one on status lookup
{
"message": "The request id has already been taken.",
"errors": {
"request_id": [
"The request id has already been taken."
]
}
}
2 fields
| Field | Type | Description |
|---|---|---|
message |
string |
The first failed message, not a generic sentence. When more than one field failed the
count is appended, singular or plural by the number: |
errors |
object |
Field name → list of messages. Field names match the keys you sent, dotted for arrays ( |
The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and
/oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of
/payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP,
on a counter shared with its siblings — see Overview.
The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and
X-RateLimit-Remaining.
{
"message": "Too Many Attempts."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints. |
Legacy: get payout status deprecated
/payments
🔒 Partner token
Superseded by GET /payments/v2/status, which looks up the same payouts — both endpoints
return payouts created through /payments, /payments/debit and /payments/v2/payout.
A request_id from /payment-requests/v1 is a different kind of record and answers 404.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
request_id |
query | string | required | The identifier you sent when creating the payout. Shorter than 16 characters fails validation. |
Example call
curl "$BASE_URL/payments?request_id=<request_id>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payments?request_id=<request_id>`, {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.get(
f"{base_url}/payments?request_id=<request_id>",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('GET', "{$baseUrl}/payments?request_id=<request_id>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Current state of the payout
{
"data": {
"id": 15832,
"request_id": "partner-legacy-2026-07-31-0001",
"status": 2,
"err_msg": null,
"transactions": [
{
"id": 904511,
"invoice_path": "/api/transactions/904511/invoice"
},
{
"id": 904512,
"invoice_path": "/api/transactions/904512/invoice"
}
]
}
}
19 fields
| Field | Type | Description |
|---|---|---|
data |
object |
Same record as |
data.id |
integer | |
data.request_id |
string | |
data.status |
integer |
1 · 2 · 3
|
data.err_msg |
integer or string |
Error code when |
data.transactions |
object[] |
Unlike A paid recipient produces two entries, exactly as in |
data.transactions[].id |
integer | |
data.transactions[].invoice_path |
string |
Path to the invoice download, relative to the API host. |
data.oauth_client |
object |
Your own OAuth client, echoed back — the same service field as in |
data.oauth_client.id |
integer | |
data.oauth_client.mediacube_id |
string | |
data.oauth_client.name |
string | |
data.oauth_client.user_id |
integer | |
data.oauth_client.redirect |
string | |
data.oauth_client.agreement_link |
string | |
data.oauth_client.privacy_link |
string | |
data.oauth_client.avatar |
string | |
data.oauth_client.created_at |
string (date-time) | |
data.oauth_client.updated_at |
string (date-time) |
A missing, malformed or expired token gives {"message": "Unauthenticated."} with no numeric code.
Code 1000 appears only when the token is valid but no account is bound to the client.
{
"message": "Unauthenticated."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Numeric error code as a string — see the Errors guide. Rejections that happen before the
payment layer carry text instead ( |
A precondition failed. Which one is in the numeric code in message — the codes reachable here
depend on the endpoint, so read the operation's own description and the Errors guide rather than
assuming a fixed set. On any partner endpoint 2000 (the client's account is not a company) is
possible; endpoints that take region and currency add 11000 (no matching company wallet).
{
"message": "2000"
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Numeric error code as a string — see the Errors guide. Rejections that happen before the
payment layer carry text instead ( |
The record is out of your reach, or the path parameter matches nothing. What "yours" means
depends on the endpoint, and the scopes do not coincide when a company runs several OAuth
clients: payouts (/payments*) and batch progress (/payment-requests/v1/payout/{id}) are
scoped to the OAuth client that created the record, payout requests
(/payment-requests/v1/status) and the company's payout templates are scoped to the
company, and everything addressed by {uid} is scoped to your network (MCN) — several
clients or company accounts of one network share the same system users. Each operation says which
one applies.
The body carries no numeric code and no detail about the record, so branch on the 404 status
alone — the text itself differs by where the request stopped: {"message": "Not found."} for a
record that was looked up and not found, an empty message when a {uid} resolved to nothing,
and the router's own sentence when a path parameter does not even match its format (a {uid}
that is not 26 characters, for instance).
{
"message": "Not found."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints. |
Field validation failed, including a reused request_id or an unknown one on status lookup
{
"message": "The request id has already been taken.",
"errors": {
"request_id": [
"The request id has already been taken."
]
}
}
2 fields
| Field | Type | Description |
|---|---|---|
message |
string |
The first failed message, not a generic sentence. When more than one field failed the
count is appended, singular or plural by the number: |
errors |
object |
Field name → list of messages. Field names match the keys you sent, dotted for arrays ( |
The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and
/oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of
/payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP,
on a counter shared with its siblings — see Overview.
The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and
X-RateLimit-Remaining.
{
"message": "Too Many Attempts."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints. |
Legacy: debit recipient wallets deprecated
/payments/debit
🔒 Partner token
Withdraws from recipient wallets into the company's Cyprus USD wallet — the opposite direction of a
payout. Enabled per client: clients without it are refused with 403 and code 5000. Every
wallet listed must additionally belong to a user of the same network (MCN) as the company —
a wallet from another network fails validation with 422. The company wallet the money arrives on
cannot be listed as a source either: its own number fails validation with 422.
There is no v2 equivalent.
Body
| Field | Type | Description | |
|---|---|---|---|
request_id |
string | required |
Globally unique. Reusing a value is rejected with |
data |
object[] | required |
Recipients of this payout — at most 50 per request. |
data[].wallet |
string | required |
Active recipient wallet under the same subaccountant as the company's Cyprus USD wallet. |
data[].amount |
string | required |
Decimal amount, at least 0. |
data[].description |
string | required |
Payment purpose shown on the recipient's transaction. |
data[].date |
string (date-time) |
Payment date. Defaults to now. |
Example call
curl -X POST "$BASE_URL/payments/debit" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"request_id": "partner-debit-2026-07-31-0001",
"data": [
{
"wallet": "4200123456",
"amount": "150.00",
"description": "Subscription fee"
}
]
}'
const response = await fetch(`${baseUrl}/payments/debit`, {
method: 'POST',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "partner-debit-2026-07-31-0001",
"data": [
{
"wallet": "4200123456",
"amount": "150.00",
"description": "Subscription fee"
}
]
}),
});
const data = await response.json();
import requests
response = requests.post(
f"{base_url}/payments/debit",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
json={
"request_id": "partner-debit-2026-07-31-0001",
"data": [
{
"wallet": "4200123456",
"amount": "150.00",
"description": "Subscription fee"
}
]
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('POST', "{$baseUrl}/payments/debit", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
'json' => [
'request_id' => 'partner-debit-2026-07-31-0001',
'data' => [
[
'wallet' => '4200123456',
'amount' => '150.00',
'description' => 'Subscription fee',
],
],
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Debit record created — read status to learn whether money moved
{
"data": {
"id": 15840,
"request_id": "partner-debit-2026-07-31-0001",
"status": 2,
"err_msg": null,
"transactions": [
{
"id": 904520,
"invoice_path": "/api/transactions/904520/invoice"
},
{
"id": 904521,
"invoice_path": "/api/transactions/904521/invoice"
}
],
"oauth_client": {
"id": 42,
"mediacube_id": "mc-42",
"name": "Partner application",
"user_id": 1001,
"redirect": "https://partner.example.com/oauth/callback",
"agreement_link": "https://partner.example.com/terms",
"privacy_link": "https://partner.example.com/privacy",
"avatar": "https://partner.example.com/logo.png",
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
}
19 fields
| Field | Type | Description |
|---|---|---|
data |
object |
Same record as |
data.id |
integer | |
data.request_id |
string | |
data.status |
integer |
1 · 2 · 3
|
data.err_msg |
integer or string |
Error code when |
data.transactions |
object[] |
Unlike A paid recipient produces two entries, exactly as in |
data.transactions[].id |
integer | |
data.transactions[].invoice_path |
string |
Path to the invoice download, relative to the API host. |
data.oauth_client |
object |
Your own OAuth client, echoed back — the same service field as in |
data.oauth_client.id |
integer | |
data.oauth_client.mediacube_id |
string | |
data.oauth_client.name |
string | |
data.oauth_client.user_id |
integer | |
data.oauth_client.redirect |
string | |
data.oauth_client.agreement_link |
string | |
data.oauth_client.privacy_link |
string | |
data.oauth_client.avatar |
string | |
data.oauth_client.created_at |
string (date-time) | |
data.oauth_client.updated_at |
string (date-time) |
A missing, malformed or expired token gives {"message": "Unauthenticated."} with no numeric code.
Code 1000 appears only when the token is valid but no account is bound to the client.
{
"message": "Unauthenticated."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Numeric error code as a string — see the Errors guide. Rejections that happen before the
payment layer carry text instead ( |
Debit is disabled for this client (5000), or the account is not a company (2000)
{
"message": "2000"
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Numeric error code as a string — see the Errors guide. Rejections that happen before the
payment layer carry text instead ( |
Field validation failed, including a reused request_id or an unknown one on status lookup
{
"message": "The request id has already been taken.",
"errors": {
"request_id": [
"The request id has already been taken."
]
}
}
2 fields
| Field | Type | Description |
|---|---|---|
message |
string |
The first failed message, not a generic sentence. When more than one field failed the
count is appended, singular or plural by the number: |
errors |
object |
Field name → list of messages. Field names match the keys you sent, dotted for arrays ( |
The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and
/oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of
/payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP,
on a counter shared with its siblings — see Overview.
The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and
X-RateLimit-Remaining.
{
"message": "Too Many Attempts."
}
1 fields
| Field | Type | Description |
|---|---|---|
message |
string |
Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints. |