Payout requests /payment-requests/v1
/payment-requests/v1 — calculation, single payout requests and batches, payout templates.
New to this part of the API? Start with the guide: Single and bulk requests
List available payment methods
/payment-requests/v1/payment-methods
🔒 Partner token
Payment methods enabled for the partner API for the company wallet selected by region and
currency, with amount limits and commission details.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
region |
query | string | required | Accounting region. Selects the company wallet together with |
currency |
query | string | required | Currency of the company wallet, together with |
Example call
curl "$BASE_URL/payment-requests/v1/payment-methods?region=cyprus¤cy=USD" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/payment-methods?region=cyprus¤cy=USD`, {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.get(
f"{base_url}/payment-requests/v1/payment-methods?region=cyprus¤cy=USD",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('GET', "{$baseUrl}/payment-requests/v1/payment-methods?region=cyprus¤cy=USD", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Available payment methods
{
"data": [
{
"id": 1,
"name": "Bank transfer",
"is_fast": true,
"category": "bank",
"min_amount": "10",
"max_amount": "50000",
"commission": [
{
"fix_fee": "25",
"percent_fee": "0.03",
"min_fee": null,
"max_fee": null,
"limit": "999.99"
}
]
}
]
}
13 fields
| Field | Type | Description |
|---|---|---|
data |
object[] | |
data[].id |
integer | |
data[].name |
string |
Display name, always in English — the partner API ignores |
data[].is_fast |
boolean | |
data[].category |
string | |
data[].min_amount |
string | |
data[].max_amount |
string | |
data[].commission |
object[] |
Fee tiers that apply to your account, ordered from the smallest amount up. Each tier applies
to amounts up to its |
data[].commission[].fix_fee |
string | |
data[].commission[].percent_fee |
string |
Fraction of the amount — |
data[].commission[].min_fee |
string | |
data[].commission[].max_fee |
string | |
data[].commission[].limit |
string |
Upper bound of the amount this tier covers; |
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 ( |
Get the fields a payment method requires
/payment-requests/v1/payment-methods/fields
🔒 Partner token
Payment methods do not share a field set — a card method wants a card number, a bank method wants
an IBAN and a BIC. This endpoint returns the fields for one method, and those field names are
exactly the keys you send as identity when creating a template.
Some fields are dynamic: their options depend on values already chosen. Send what you have so
far in identity and call again to get the narrowed set.
Body
| Field | Type | Description | |
|---|---|---|---|
region |
string | required |
Accounting region. Selects the company wallet together with cyprus · garna-cy
|
currency |
string | required |
Currency of the company wallet, together with USD · EUR
|
payment_method_id |
integer | required |
The |
identity |
object |
Values already collected — narrows the options of dynamic fields. |
Example call
curl -X POST "$BASE_URL/payment-requests/v1/payment-methods/fields" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"identity": {
"country": "DE"
}
}'
const response = await fetch(`${baseUrl}/payment-requests/v1/payment-methods/fields`, {
method: 'POST',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"identity": {
"country": "DE"
}
}),
});
const data = await response.json();
import requests
response = requests.post(
f"{base_url}/payment-requests/v1/payment-methods/fields",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
json={
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"identity": {
"country": "DE"
}
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('POST', "{$baseUrl}/payment-requests/v1/payment-methods/fields", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
'json' => [
'region' => 'cyprus',
'currency' => 'USD',
'payment_method_id' => 12,
'identity' => [
'country' => 'DE',
],
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Fields of the payment method, keyed by field name
{
"data": {
"country": {
"type": "select",
"title": "Country",
"help_text": null,
"dynamic": false,
"options": {
"DE": "Germany",
"FR": "France"
}
},
"iban": {
"type": "text",
"title": "IBAN",
"help_text": null,
"dynamic": false,
"is_uppercase": true
}
}
}
7 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data{key}.type |
string |
Input type of the field. |
data{key}.title |
string | |
data{key}.help_text |
string | |
data{key}.dynamic |
boolean |
When true, the options depend on other |
data{key}.options |
object |
Allowed values, keyed by the value you send. Present only on fields with a fixed set. |
data{key}.is_uppercase |
boolean |
Present only on text fields; the value is stored upper-cased. |
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 ( |
Create a payout template
/payment-requests/v1/templates
🔒 Partner token
Stores recipient details as a reusable template. identity keys and their validation come from
POST /payment-requests/v1/payment-methods/fields for the same method — unknown keys are
ignored, invalid values fail validation.
A payment method that is not enabled for the partner API fails validation here (422), not
with code 12000 — that code belongs to reading and deleting a template.
Some methods register the details with the provider while the template is being created, so a
rejection can come from the provider rather than from us: that is 406 with errors and no
message.
Limited to 60 requests per minute, counted per OAuth client and per IP address. The counter is shared by every template endpoint that creates or deletes one — your company's and your system users' alike.
Body
| Field | Type | Description | |
|---|---|---|---|
region |
string | required |
Accounting region. Selects the company wallet together with cyprus · garna-cy
|
currency |
string | required |
Currency of the company wallet, together with USD · EUR
|
payment_method_id |
integer | required |
The |
title |
string | required |
Your own label for the template — shown nowhere but in your own listings. |
identity |
object | required |
Recipient details, keyed by the field names of the payment method. |
Example call
curl -X POST "$BASE_URL/payment-requests/v1/templates" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
}
}'
const response = await fetch(`${baseUrl}/payment-requests/v1/templates`, {
method: 'POST',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
}
}),
});
const data = await response.json();
import requests
response = requests.post(
f"{base_url}/payment-requests/v1/templates",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
json={
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
}
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('POST', "{$baseUrl}/payment-requests/v1/templates", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
'json' => [
'region' => 'cyprus',
'currency' => 'USD',
'payment_method_id' => 12,
'title' => 'Supplier — main account',
'identity' => [
'iban' => 'DE89370400440532013000',
'bic' => 'COBADEFFXXX',
],
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
The same details were already stored, so the existing template is returned unchanged — creating
is idempotent by identity, which makes a retry after a lost response safe. Do not match 201
exactly.
{
"data": {
"id": 1,
"payment_method_id": 1,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
},
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
7 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.id |
integer | |
data.payment_method_id |
integer | |
data.title |
string | |
data.identity |
object |
Stored recipient details, keyed by the field names of the payment method. |
data.created_at |
string (date-time) | |
data.updated_at |
string (date-time) |
Template created
{
"data": {
"id": 1,
"payment_method_id": 1,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
},
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
7 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.id |
integer | |
data.payment_method_id |
integer | |
data.title |
string | |
data.identity |
object |
Stored recipient details, keyed by the field names of the payment method. |
data.created_at |
string (date-time) | |
data.updated_at |
string (date-time) |
Template could not be generated (4000)
{
"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 ( |
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 ( |
No active company wallet for the requested region and currency (11000)
{
"message": "11000"
}
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 payment provider refused the details, so no template was created. The body carries errors
without a message, and each field holds a single string — see ProviderFieldErrorResponse.
{
"errors": {
"identity.iban": "Invalid account number"
}
}
1 fields
| Field | Type | Description |
|---|---|---|
errors |
object |
Field name → the provider's message. Most providers prefix the name with |
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. |
List payout templates
/payment-requests/v1/templates
🔒 Partner token
Templates created for one payment method, newest first. One of the two paginated endpoints in this API — the other is the same listing for a system user.
The URLs in links and meta.links are not usable as they are. They carry only page, while
region, currency and payment_method_id are required — following one answers 422. Page
through by putting page next to the parameters you already send.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
region |
query | string | required | Accounting region. Selects the company wallet together with |
currency |
query | string | required | Currency of the company wallet, together with |
payment_method_id |
query | integer | required | Templates are listed per method, so this is required. |
per_page |
query | integer | Defaults to 20 when omitted. An empty value is not the same as omitting it: |
|
page |
query | integer | Page number, starting at 1. |
Example call
curl "$BASE_URL/payment-requests/v1/templates?region=cyprus¤cy=USD&payment_method_id=<payment_method_id>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/templates?region=cyprus¤cy=USD&payment_method_id=<payment_method_id>`, {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.get(
f"{base_url}/payment-requests/v1/templates?region=cyprus¤cy=USD&payment_method_id=<payment_method_id>",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('GET', "{$baseUrl}/payment-requests/v1/templates?region=cyprus¤cy=USD&payment_method_id=<payment_method_id>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Paginated templates
{
"data": [
{
"id": 1,
"payment_method_id": 1,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
},
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
],
"links": {
"first": "https://example.com/payment-requests/v1/templates?page=1",
"last": "https://example.com/payment-requests/v1/templates?page=3",
"prev": null,
"next": "https://example.com/payment-requests/v1/templates?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 3,
"links": [
{
"url": "https://example.com/payment-requests/v1/templates?page=1",
"label": "1",
"active": true
}
],
"path": "https://example.com/payment-requests/v1/templates",
"per_page": 20,
"to": 20,
"total": 42
}
}
24 fields
| Field | Type | Description |
|---|---|---|
data |
object[] | |
data[].id |
integer | |
data[].payment_method_id |
integer | |
data[].title |
string | |
data[].identity |
object |
Stored recipient details, keyed by the field names of the payment method. |
data[].created_at |
string (date-time) | |
data[].updated_at |
string (date-time) | |
links |
object |
Page URLs of the paginated listing. Each one carries only |
links.first |
string | |
links.last |
string | |
links.prev |
string |
|
links.next |
string |
|
meta |
object | |
meta.current_page |
integer | |
meta.from |
integer |
Position of the first item on this page; |
meta.last_page |
integer | |
meta.links |
object[] |
Page buttons as the dashboard renders them — previous, one entry per page, next. Carries the
same unusable URLs as |
meta.links[].url |
string | |
meta.links[].label |
string |
HTML entities included — |
meta.links[].active |
boolean | |
meta.path |
string | |
meta.per_page |
integer | |
meta.to |
integer |
Position of the last item on this page; |
meta.total |
integer |
Templates matching the filter across all pages. |
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 ( |
Get one payout template
/payment-requests/v1/templates/{templateId}
🔒 Partner token
The template with the recipient details stored under identity. Templates of other companies
are not visible — they answer 404.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
templateId |
path | integer | required | The template |
Example call
curl "$BASE_URL/payment-requests/v1/templates/<templateId>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/templates/<templateId>`, {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.get(
f"{base_url}/payment-requests/v1/templates/<templateId>",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('GET', "{$baseUrl}/payment-requests/v1/templates/<templateId>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
The template
{
"data": {
"id": 1,
"payment_method_id": 1,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
},
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
7 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.id |
integer | |
data.payment_method_id |
integer | |
data.title |
string | |
data.identity |
object |
Stored recipient details, keyed by the field names of the payment method. |
data.created_at |
string (date-time) | |
data.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 ( |
The template's payment method is no longer enabled for the partner API (12000)
{
"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. |
Delete a payout template
/payment-requests/v1/templates/{templateId}
🔒 Partner token
Removes the template. Payout requests already created from it are not affected — the template is only the recipient's details, not the payment itself.
Limited to 60 requests per minute, counted per OAuth client and per IP address. The counter is shared by every template endpoint that creates or deletes one — your company's and your system users' alike.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
templateId |
path | integer | required | The template |
Example call
curl -X DELETE "$BASE_URL/payment-requests/v1/templates/<templateId>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/templates/<templateId>`, {
method: 'DELETE',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.delete(
f"{base_url}/payment-requests/v1/templates/<templateId>",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('DELETE', "{$baseUrl}/payment-requests/v1/templates/<templateId>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Template deleted
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 ( |
The template's payment method is no longer enabled for the partner API (12000)
{
"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. |
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. |
Calculate a payout before creating it
/payment-requests/v1/calculate
🔒 Partner token
Returns what the recipient will get for a given amount and payout template: your side of the withdrawal, the currency conversion if one applies, and the resulting payment.
Minimum and maximum amounts depend on the template's payment method and the account balance, so an amount outside the allowed range fails validation with the limits in the message.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
template_id |
query | integer | required | Payout template belonging to your company. |
amount |
query | string | required | Decimal amount to withdraw. |
Example call
curl "$BASE_URL/payment-requests/v1/calculate?template_id=<template_id>&amount=<amount>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/calculate?template_id=<template_id>&amount=<amount>`, {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.get(
f"{base_url}/payment-requests/v1/calculate?template_id=<template_id>&amount=<amount>",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('GET', "{$baseUrl}/payment-requests/v1/calculate?template_id=<template_id>&amount=<amount>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Calculation result
{
"withdraw": {
"currency": "USD",
"amount": "500.00",
"fee": "5.00",
"total_amount": "505.00"
},
"exchange": {
"currency": "EUR",
"rate": "0.92",
"amount": "460.00",
"fee": "1.20",
"total_amount": "500.00"
},
"payment": {
"currency": "EUR",
"amount": "460.00",
"fee": "1.20"
}
}
15 fields
| Field | Type | Description |
|---|---|---|
withdraw |
object |
What leaves your balance, including the payment method fee. |
withdraw.currency |
string | |
withdraw.amount |
string | |
withdraw.fee |
string | |
withdraw.total_amount |
string | |
exchange |
object |
Always present on this endpoint; |
exchange.currency |
string | |
exchange.rate |
string | |
exchange.amount |
string | |
exchange.fee |
string | |
exchange.total_amount |
string | |
payment |
object |
What the recipient receives. |
payment.currency |
string | |
payment.amount |
string | |
payment.fee |
string |
Exchange calculation failed (12020) or an unexpected error (4000)
{
"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 ( |
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 ( |
Template data no longer passes the method's validation (12011), the account is not allowed
to withdraw (12012), or the client's account is not a company (2000). This endpoint takes
no region/currency, so 11000 cannot happen here.
{
"message": "12012"
}
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 ( |
Create a single payout request
/payment-requests/v1/single
🔒 Partner token
Creates one payout request from a payout template. Unlike a batch, this endpoint takes no region
or currency — the wallet follows from the template.
Additional fields depend on the template's payment method: some methods require
payment_purpose, others reject it. Check the method's fields with
POST /payment-requests/v1/payment-methods/fields before sending.
request_id must be unique within your company (16–255 characters).
Limited to 60 requests per minute, counted per OAuth client and per IP address.
The counter is shared by every money endpoint of /payment-requests/v1: single, bulk, and a
system user's fund and payout.
Body
| Field | Type | Description | |
|---|---|---|---|
request_id |
string | required |
Unique within your company. |
template_id |
integer | required |
Payout template holding the recipient details — it also decides the wallet. |
amount |
string | required |
Decimal amount. Limits depend on the method and your balance. |
payment_purpose |
string |
Required by some methods, rejected by others. |
Example call
curl -X POST "$BASE_URL/payment-requests/v1/single" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"request_id": "partner-request-2026-07-31-0001",
"template_id": 8842,
"amount": "500",
"payment_purpose": "Service agreement 12/2026"
}'
const response = await fetch(`${baseUrl}/payment-requests/v1/single`, {
method: 'POST',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"request_id": "partner-request-2026-07-31-0001",
"template_id": 8842,
"amount": "500",
"payment_purpose": "Service agreement 12/2026"
}),
});
const data = await response.json();
import requests
response = requests.post(
f"{base_url}/payment-requests/v1/single",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
json={
"request_id": "partner-request-2026-07-31-0001",
"template_id": 8842,
"amount": "500",
"payment_purpose": "Service agreement 12/2026"
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('POST', "{$baseUrl}/payment-requests/v1/single", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
'json' => [
'request_id' => 'partner-request-2026-07-31-0001',
'template_id' => 8842,
'amount' => '500',
'payment_purpose' => 'Service agreement 12/2026',
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Payout request created
{
"data": {
"payout": {
"id": 15901,
"request_id": "9f8b1d0e-7c4a-4a1e-9f2b-5d3c8a1e77b0",
"status": 2,
"err_msg": null
},
"payment_request": {
"id": 90211,
"template_id": 8842,
"withdraw": {
"currency": "USD",
"amount": "500",
"fee": "5"
},
"payment_purpose": "Service agreement 12/2026",
"status": "new",
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
}
17 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.payout |
object |
The umbrella record of |
data.payout.id |
integer | |
data.payout.request_id |
string |
Garna's own identifier of the record, a UUID — not the |
data.payout.status |
integer |
Same column as 1 · 2 · 3
|
data.payout.err_msg |
string |
Error code as a string when the record itself failed — not a verdict on its entries. |
data.payment_request |
object |
Three of these keys are conditional, and the condition is the endpoint or the payout state — not the data you sent:
Do not treat an absent key as an empty value — check for presence. |
data.payment_request.id |
integer | |
data.payment_request.template_id |
integer | |
data.payment_request.withdraw |
object |
Money breakdown stored on a payout request. Unlike |
data.payment_request.exchange |
object |
Currency conversion. Absent until the payout reaches |
data.payment_request.payment |
object |
What the recipient receives. Absent until the payout reaches |
data.payment_request.payment_purpose |
string | |
data.payment_request.template |
object |
The payout template this request pays to. Present on |
data.payment_request.status |
string |
Status of the payout transaction. new · pending · waiting · success · error · reject · null
|
data.payment_request.created_at |
string (date-time) | |
data.payment_request.updated_at |
string (date-time) |
The balance is below the requested amount (8000) — the limit itself is validated first, so
this is the case where the funds were spent in between — the exchange calculation failed
(12020), or an unexpected error happened on our side (4000).
{
"message": "8000"
}
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 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 ( |
Template data no longer passes the method's validation (12011), the account is not allowed
to withdraw (12012), or the client's account is not a company (2000). Amount limits are
not reported here — they are validation (422), never 12021/12022.
{
"message": "12011"
}
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. |
Create up to 50 payout requests
/payment-requests/v1/bulk
🔒 Partner token
Queues up to 50 payout requests for one payment method. Every entry needs its own unique
request_id, and template_id values must not repeat within the batch.
The batch is processed asynchronously: the response confirms acceptance, and each entry's outcome
is read afterwards with GET /payment-requests/v1/status. Entries can fail individually with
their own err_msg — see the Errors guide.
Your company's KYC must be verified, otherwise the request is refused with 403 and code 12012.
Limited to 60 requests per minute, counted per OAuth client and per IP address.
The counter is shared by every money endpoint of /payment-requests/v1: single, bulk, and a
system user's fund and payout.
Body
| Field | Type | Description | |
|---|---|---|---|
region |
string | required |
Accounting region. Selects the company wallet together with cyprus · garna-cy
|
currency |
string | required |
Currency of the company wallet, together with USD · EUR
|
payment_method_id |
integer | required |
Must be enabled for the partner API — see |
payments |
object[] | required |
Entries of the batch — at most 50, all paying to templates of the same payment method. |
payments[].request_id |
string | required |
Unique within your company and within the batch. |
payments[].template_id |
integer | required |
Must not repeat within the batch. |
payments[].amount |
string | required |
Decimal amount, at least 1. |
payments[].payment_purpose |
string |
Required or prohibited depending on the payment method. |
Example call
curl -X POST "$BASE_URL/payment-requests/v1/bulk" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"payments": [
{
"request_id": "partner-batch-2026-07-31-0001",
"template_id": 8842,
"amount": "500"
},
{
"request_id": "partner-batch-2026-07-31-0002",
"template_id": 8843,
"amount": "750"
}
]
}'
const response = await fetch(`${baseUrl}/payment-requests/v1/bulk`, {
method: 'POST',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"payments": [
{
"request_id": "partner-batch-2026-07-31-0001",
"template_id": 8842,
"amount": "500"
},
{
"request_id": "partner-batch-2026-07-31-0002",
"template_id": 8843,
"amount": "750"
}
]
}),
});
const data = await response.json();
import requests
response = requests.post(
f"{base_url}/payment-requests/v1/bulk",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
json={
"region": "cyprus",
"currency": "USD",
"payment_method_id": 12,
"payments": [
{
"request_id": "partner-batch-2026-07-31-0001",
"template_id": 8842,
"amount": "500"
},
{
"request_id": "partner-batch-2026-07-31-0002",
"template_id": 8843,
"amount": "750"
}
]
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('POST', "{$baseUrl}/payment-requests/v1/bulk", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
'json' => [
'region' => 'cyprus',
'currency' => 'USD',
'payment_method_id' => 12,
'payments' => [
[
'request_id' => 'partner-batch-2026-07-31-0001',
'template_id' => 8842,
'amount' => '500',
],
[
'request_id' => 'partner-batch-2026-07-31-0002',
'template_id' => 8843,
'amount' => '750',
],
],
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Batch accepted for processing
{
"data": {
"payout": {
"id": 15901,
"request_id": "9f8b1d0e-7c4a-4a1e-9f2b-5d3c8a1e77b0",
"status": 2,
"err_msg": null
}
}
}
6 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.payout |
object |
The umbrella record of |
data.payout.id |
integer | |
data.payout.request_id |
string |
Garna's own identifier of the record, a UUID — not the |
data.payout.status |
integer |
Same column as 1 · 2 · 3
|
data.payout.err_msg |
string |
Error code as a string when the record itself failed — not a verdict on its entries. |
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 ( |
Your company's KYC is not verified (12012), no company wallet matches region and
currency (11000), or the client's account is not a company (2000).
{
"message": "12012"
}
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. |
Get batch progress
/payment-requests/v1/payout/{payoutId}
🔒 Partner token
Aggregated progress of a batch created with POST /payment-requests/v1/bulk: how many of its
requests are requested, pending, completed, and how many were never created because they failed
validation during processing.
Scoped to the OAuth client that created the batch — unlike GET /payment-requests/v1/status,
which is scoped to the company. A sibling client of the same company gets 404 here.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
payoutId |
path | integer | required | The |
Example call
curl "$BASE_URL/payment-requests/v1/payout/<payoutId>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/payout/<payoutId>`, {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: `Bearer ${accessToken}`,
},
});
const data = await response.json();
import requests
response = requests.get(
f"{base_url}/payment-requests/v1/payout/<payoutId>",
headers={
"Accept": "application/json",
"Authorization": f"Bearer {access_token}",
},
)
data = response.json()
$client = new GuzzleHttp\Client();
$response = $client->request('GET', "{$baseUrl}/payment-requests/v1/payout/<payoutId>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Batch progress
{
"data": {
"id": 1,
"request_id": "9f8b1d0e-7c4a-4a1e-9f2b-5d3c8a1e77b0",
"status": 1,
"err_msg": null,
"payment_request_status_count": {
"requested": 1,
"pending": 1,
"completed": 1,
"not_created": 1
}
}
}
10 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.id |
integer | |
data.request_id |
string |
Garna's own identifier of the batch, a UUID — not the one you sent. |
data.status |
integer |
1 · 2 · 3
|
data.err_msg |
string |
Error code as a string when the batch itself failed. |
data.payment_request_status_count |
object | |
data.payment_request_status_count.requested |
integer |
Payment requests created from the batch, whatever their current status. |
data.payment_request_status_count.pending |
integer |
Of those, still awaiting a final status. |
data.payment_request_status_count.completed |
integer |
Of those, in a final state — finished, not necessarily paid: successful, declined and provider-error requests all count here. |
data.payment_request_status_count.not_created |
integer |
Entries that failed during processing and produced no payment request. |
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. |
Get the status of one payout request
/payment-requests/v1/status
🔒 Partner token
Returns the request identified by request_id, including the resulting payment request once it
exists. An unknown request_id fails validation with 422; a request_id belonging to another
company answers 404.
Scoped to the company, not to the OAuth client: if you run several clients under one company,
each of them can read entries the others created. Batch progress
(GET /payment-requests/v1/payout/{id}) is the opposite — there the scope is the client.
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
request_id |
query | string | required | The identifier you sent for this entry — yours, not the batch UUID. |
Example call
curl "$BASE_URL/payment-requests/v1/status?request_id=<request_id>" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/status?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}/payment-requests/v1/status?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}/payment-requests/v1/status?request_id=<request_id>", [
'headers' => [
'Accept' => 'application/json',
'Authorization' => "Bearer {$accessToken}",
],
]);
$data = json_decode((string)$response->getBody(), true);
Responses
Current state of the payout request
{
"data": {
"draft_payment_request": {
"id": 90211,
"request_id": "partner-batch-2026-07-31-0001",
"payout_id": 15901,
"status": 1,
"err_msg": null,
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
},
"payment_request": {
"id": 90211,
"template_id": 8842,
"withdraw": {
"currency": "USD",
"amount": "500",
"fee": "5"
},
"payment_purpose": "Service agreement 12/2026",
"template": {
"id": 8842,
"payment_method_id": 12,
"title": "Supplier — main account",
"identity": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX"
},
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
},
"status": "pending",
"created_at": "2026-08-01T12:00:00+00:00",
"updated_at": "2026-08-01T12:00:00+00:00"
}
}
}
20 fields
| Field | Type | Description |
|---|---|---|
data |
object | |
data.draft_payment_request |
object | |
data.draft_payment_request.id |
integer | |
data.draft_payment_request.request_id |
string | |
data.draft_payment_request.payout_id |
integer |
Batch this request belongs to. |
data.draft_payment_request.status |
integer |
1 · 2
|
data.draft_payment_request.err_msg |
string |
Error code as a string when |
data.draft_payment_request.created_at |
string (date-time) | |
data.draft_payment_request.updated_at |
string (date-time) | |
data.payment_request |
object |
The key is always present. It is |
data.payment_request.id |
integer | |
data.payment_request.template_id |
integer | |
data.payment_request.withdraw |
object |
Money breakdown stored on a payout request. Unlike |
data.payment_request.exchange |
object |
Currency conversion. Absent until the payout reaches |
data.payment_request.payment |
object |
What the recipient receives. Absent until the payout reaches |
data.payment_request.payment_purpose |
string | |
data.payment_request.template |
object |
The payout template this request pays to. Present on |
data.payment_request.status |
string |
Status of the payout transaction. new · pending · waiting · success · error · reject · null
|
data.payment_request.created_at |
string (date-time) | |
data.payment_request.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 ( |