Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

PrePayment

PrePayment

Create a pre-payment on order

post
/tenants/{tenantUid}/stores/{storeUid}/orders/{orderUid}/pre-payments

Create a pre-payment on order. Returns a settlementUid, and is handled at the settlements/{settlementUid} endpoint

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
orderUidstringRequired

Reference to an Order.

Pattern: ^[A-Za-z0-9-_]+
Body

Create a new settlement

amountintegerRequired

in cents, e.g. 1,50 as 150

externalIdstringOptional

External reference for the settlement

settlementCodestringRequired
settlementUidstringOptionalPattern: ^[A-Za-z0-9-_]+
Responses
post
/tenants/{tenantUid}/stores/{storeUid}/orders/{orderUid}/pre-payments
201

Example response

Last updated

Was this helpful?