Skip to main content

Get Split Policy

GET https://api.paysera.com/checkout-project/integration/v1/project/split-policy

Read the project's split-policy template — each slot's slot_id, role, and configured rule. Use the slot_ids to bind variadic order entries (when the policy has more than one variadic slot) and to build per-order overrides.

Authorization​

This endpoint requires an OAuth2 Bearer token. The project is taken from the token. See the Authentication guide.

Notes​

  • value is in cents for fixed and in basis points for percentage (1 bp = 0.01%; 10000 = 100%); null for remainder.
  • Returns 404 if the project has no policy template.

See Split Payments for how this fits the flow.

AUTHORIZATION: HTTP

REQUEST

Base URL
https://api.paysera.com

RESPONSE

Split policy retrieved
{
"project_id": "b7c3d4e5-6f7a-8b9c-0d1e-2f3a4b5c6d7e",
"configured": true,
"slots": [
{
"slot_id": "11111111-1111-1111-1111-111111111111",
"position": 0,
"role": "merchant",
"rule_type": "percentage",
"value": 1000,
"beneficiary_id": null,
"beneficiary_account_number": null,
"beneficiary_name": null,
"beneficiary_missing": false
},
{
"slot_id": "22222222-2222-2222-2222-222222222222",
"position": 1,
"role": "variadic",
"rule_type": "remainder",
"value": null,
"beneficiary_id": null,
"beneficiary_account_number": null,
"beneficiary_name": null,
"beneficiary_missing": false
}
]
}