DORIC Banking API · Payments
PreviewInitiate a payment
Creates a payment between accounts using a supported payment rail.
/paymentsHeaders
AuthorizationstringRequiredOAuth 2.0 client-credentials flow for machine workloads.
X-Request-IduuidOptionalUUID unique to this HTTP request. The gateway echoes a valid caller-supplied value or generates one when the header is omitted. The resulting value is returned in X-Request-Id and structured error responses.
Idempotency-KeystringRequiredUnique key that prevents duplicate payment creation during retries.
Content-TypestringRequiredAlways
application/json.
Request body
amountMinorintegerRequiredNo description yet.
- at least 1
currencystringRequiredNo description yet.
- pattern ^[A-Z]{3}$
fromAccountIduuidRequiredNo description yet.
railenumRequiredSettlement route used to move funds between the source and destination accounts.
- Allowed values
- ach
- sepa
- swift
- card
- internal
toAccountIduuidRequiredNo description yet.
Response
Status 201. Payment created successfully.
amountMinorintegerRequiredNo description yet.
- at least 1
currencystringRequiredNo description yet.
- pattern ^[A-Z]{3}$
fromAccountIduuidRequiredNo description yet.
iduuidRequiredNo description yet.
railenumRequiredSettlement route used to move funds between the source and destination accounts.
- Allowed values
- ach
- sepa
- swift
- card
- internal
toAccountIduuidRequiredNo description yet.
Errors
Every error carries an HTTP status. Where it also carries a code, branch on the code, not on the message.
- 400
INVALID_ARGUMENTThe request is malformed. - 401
UNAUTHENTICATEDAuthentication failed. - 403
PERMISSION_DENIEDThe principal is not authorized for this operation. - 409
ALREADY_EXISTSThe resource or idempotency key conflicts with existing state. - 422
FAILED_PRECONDITIONA business precondition prevents the operation. - 429
RESOURCE_EXHAUSTEDA rate or concurrency limit was exceeded. - 503
UNAVAILABLEThe service is temporarily unavailable.