Payout requests /payment-requests/v1

/payment-requests/v1 — calculation, single payout requests and batches, payout templates.

List available payment methods

GET /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

NameInTypeDescription
region query string required

Accounting region. Selects the company wallet together with currency.

currency query string required

Currency of the company wallet, together with region. A pair passes validation whether or not your company has a wallet behind it; a pair with no wallet is refused with 403 and code 11000. On a system user's endpoints the pair is resolved twice, company wallet first — a missing active wallet of the user behind an existing company wallet is 422 with code 15000.

Example call

curl "$BASE_URL/payment-requests/v1/payment-methods?region=cyprus&currency=USD" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/payment-requests/v1/payment-methods?region=cyprus&currency=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&currency=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&currency=USD", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

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
FieldTypeDescription
data object[]
data[].id integer
data[].name string

Display name, always in English — the partner API ignores Accept-Language and ?lang. null when the method has no English translation; fall back to category or to your own label rather than showing an empty row.

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 limit; the tier with limit: null covers everything above. percent_fee is a fraction, not percent — "0.03" means 3%.

data[].commission[].fix_fee string
data[].commission[].percent_fee string

Fraction of the amount — "0.03" is 3%.

data[].commission[].min_fee string
data[].commission[].max_fee string
data[].commission[].limit string

Upper bound of the amount this tier covers; null on the last tier.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

Get the fields a payment method requires

POST /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

FieldTypeDescription
region string required

Accounting region. Selects the company wallet together with currency.

cyprus · garna-cy
currency string required

Currency of the company wallet, together with region. A pair passes validation whether or not your company has a wallet behind it; a pair with no wallet is refused with 403 and code 11000. On a system user's endpoints the pair is resolved twice, company wallet first — a missing active wallet of the user behind an existing company wallet is 422 with code 15000.

USD · EUR
payment_method_id integer required

The id from the listing of the subject you are acting for: GET /payment-requests/v1/payment-methods for your company, GET /payment-requests/v1/users/{uid}/payment-methods for a system user.

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

200

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
FieldTypeDescription
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 identity values.

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.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

Create a payout template

POST /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

FieldTypeDescription
region string required

Accounting region. Selects the company wallet together with currency.

cyprus · garna-cy
currency string required

Currency of the company wallet, together with region. A pair passes validation whether or not your company has a wallet behind it; a pair with no wallet is refused with 403 and code 11000. On a system user's endpoints the pair is resolved twice, company wallet first — a missing active wallet of the user behind an existing company wallet is 422 with code 15000.

USD · EUR
payment_method_id integer required

The id from the listing of the subject you are acting for — your company's or a system user's — and it must be enabled for the partner API.

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

200

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
FieldTypeDescription
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)
201

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
FieldTypeDescription
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)
400

Template could not be generated (4000)

{
    "message": "2000"
}
1 fields
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

No active company wallet for the requested region and currency (11000)

{
    "message": "11000"
}
1 fields
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

406

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
FieldTypeDescription
errors object

Field name → the provider's message. Most providers prefix the name with identity., matching the keys you sent, and a rejection they did not attribute to a field arrives as without_field. Some pass their own field name through unprefixed, so match the suffix rather than the whole key.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

429

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

List payout templates

GET /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

NameInTypeDescription
region query string required

Accounting region. Selects the company wallet together with currency.

currency query string required

Currency of the company wallet, together with region. A pair passes validation whether or not your company has a wallet behind it; a pair with no wallet is refused with 403 and code 11000. On a system user's endpoints the pair is resolved twice, company wallet first — a missing active wallet of the user behind an existing company wallet is 422 with code 15000.

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: ?per_page= fails validation.

page query integer

Page number, starting at 1.

Example call

curl "$BASE_URL/payment-requests/v1/templates?region=cyprus&currency=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&currency=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&currency=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&currency=USD&payment_method_id=<payment_method_id>", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

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
FieldTypeDescription
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 page — the required region, currency and payment_method_id are dropped, so a request to such a URL as it stands fails with 422. Take the page number from here and send it with your own parameters.

links.first string
links.last string
links.prev string

null on the first page.

links.next string

null on the last page.

meta object
meta.current_page integer
meta.from integer

Position of the first item on this page; null on an empty 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 links; page through by number instead.

meta.links[].url string
meta.links[].label string

HTML entities included — &laquo; Previous, 1, Next &raquo;.

meta.links[].active boolean
meta.path string
meta.per_page integer
meta.to integer

Position of the last item on this page; null on an empty page.

meta.total integer

Templates matching the filter across all pages.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

Get one payout template

GET /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

NameInTypeDescription
templateId path integer required

The template id returned when it was created.

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

200

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
FieldTypeDescription
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)
401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

The template's payment method is no longer enabled for the partner API (12000)

{
    "message": "2000"
}
1 fields
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

404

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Delete a payout template

DELETE /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

NameInTypeDescription
templateId path integer required

The template id returned when it was created.

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

204

Template deleted

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

The template's payment method is no longer enabled for the partner API (12000)

{
    "message": "2000"
}
1 fields
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

404

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Calculate a payout before creating it

GET /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

NameInTypeDescription
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

200

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
FieldTypeDescription
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; null when no currency conversion is involved.

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
400

Exchange calculation failed (12020) or an unexpected error (4000)

{
    "message": "2000"
}
1 fields
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

Create a single payout request

POST /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

FieldTypeDescription
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

200

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
FieldTypeDescription
data object
data.payout object

The umbrella record of /payment-requests/v1 — one per single request, one per batch. Use its id with GET /payment-requests/v1/payout/{id} to read batch progress.

data.payout.id integer
data.payout.request_id string

Garna's own identifier of the record, a UUID — not the request_id you sent. Yours belongs to the individual entry and is looked up with GET /payment-requests/v1/status.

data.payout.status integer

Same column as McPaymentRequest.status, but here it describes processing, not money: 1 still running, 2 processing finished, 3 gave up. A single request comes back as 2 immediately. Whether an entry was actually paid is only visible per entry — see GET /payment-requests/v1/status.

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:

  • exchange and payment appear only once the payout reaches success. On the response to creating a payout request — POST /payment-requests/v1/single or POST /payment-requests/v1/users/{uid}/payout — and on any status lookup before that, both keys are absent;
  • template is present on GET /payment-requests/v1/status and absent on both creations.

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 calculate, it carries no total_amount. fee is the commission charged for this payout — the value calculate returned for the same template and amount, unless the method's fee settings changed in between. It is filled as soon as the payout is created and is "0" when the method charges nothing. Neither amount nor fee is re-formatted to two decimals ("100", "3"), so compare them as decimals.

data.payment_request.exchange object

Currency conversion. Absent until the payout reaches success, and absent afterwards when no conversion was involved.

data.payment_request.payment object

What the recipient receives. Absent until the payout reaches success.

data.payment_request.payment_purpose string
data.payment_request.template object

The payout template this request pays to. Present on GET /payment-requests/v1/status, absent on the response to POST /payment-requests/v1/single.

data.payment_request.status string

Status of the payout transaction. new and pending mean it is still on its way, success that the money left, error and reject that it did not. null until a transaction exists.

new · pending · waiting · success · error · reject · null
data.payment_request.created_at string (date-time)
data.payment_request.updated_at string (date-time)
400

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

429

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Create up to 50 payout requests

POST /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

FieldTypeDescription
region string required

Accounting region. Selects the company wallet together with currency.

cyprus · garna-cy
currency string required

Currency of the company wallet, together with region. A pair passes validation whether or not your company has a wallet behind it; a pair with no wallet is refused with 403 and code 11000. On a system user's endpoints the pair is resolved twice, company wallet first — a missing active wallet of the user behind an existing company wallet is 422 with code 15000.

USD · EUR
payment_method_id integer required

Must be enabled for the partner API — see GET /payment-requests/v1/payment-methods.

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

200

Batch accepted for processing

{
    "data": {
        "payout": {
            "id": 15901,
            "request_id": "9f8b1d0e-7c4a-4a1e-9f2b-5d3c8a1e77b0",
            "status": 2,
            "err_msg": null
        }
    }
}
6 fields
FieldTypeDescription
data object
data.payout object

The umbrella record of /payment-requests/v1 — one per single request, one per batch. Use its id with GET /payment-requests/v1/payout/{id} to read batch progress.

data.payout.id integer
data.payout.request_id string

Garna's own identifier of the record, a UUID — not the request_id you sent. Yours belongs to the individual entry and is looked up with GET /payment-requests/v1/status.

data.payout.status integer

Same column as McPaymentRequest.status, but here it describes processing, not money: 1 still running, 2 processing finished, 3 gave up. A single request comes back as 2 immediately. Whether an entry was actually paid is only visible per entry — see GET /payment-requests/v1/status.

1 · 2 · 3
data.payout.err_msg string

Error code as a string when the record itself failed — not a verdict on its entries.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

429

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Get batch progress

GET /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

NameInTypeDescription
payoutId path integer required

The payout.id returned when the batch was created.

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

200

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
FieldTypeDescription
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 processing, 2 processing finished, 3 gave up — not a money verdict.

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.

401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

404

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Get the status of one payout request

GET /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

NameInTypeDescription
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

200

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
FieldTypeDescription
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 success, 2 error.

1 · 2
data.draft_payment_request.err_msg string

Error code as a string when status is 2.

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 null until the payment request is created, and it stays null forever on an entry that failed — so an entry with status: 2 always has payment_request: null.

data.payment_request.id integer
data.payment_request.template_id integer
data.payment_request.withdraw object

Money breakdown stored on a payout request. Unlike calculate, it carries no total_amount. fee is the commission charged for this payout — the value calculate returned for the same template and amount, unless the method's fee settings changed in between. It is filled as soon as the payout is created and is "0" when the method charges nothing. Neither amount nor fee is re-formatted to two decimals ("100", "3"), so compare them as decimals.

data.payment_request.exchange object

Currency conversion. Absent until the payout reaches success, and absent afterwards when no conversion was involved.

data.payment_request.payment object

What the recipient receives. Absent until the payout reaches success.

data.payment_request.payment_purpose string
data.payment_request.template object

The payout template this request pays to. Present on GET /payment-requests/v1/status, absent on the response to POST /payment-requests/v1/single.

data.payment_request.status string

Status of the payout transaction. new and pending mean it is still on its way, success that the money left, error and reject that it did not. null until a transaction exists.

new · pending · waiting · success · error · reject · null
data.payment_request.created_at string (date-time)
data.payment_request.updated_at string (date-time)
401

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

403

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
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

404

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
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

422

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
FieldTypeDescription
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: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).