Documentation contents
POST/checkouts/{id}/commit

Commit a sale

Scope: checkouts:write

Path parameters

idstringrequired
The resource identifier.
Format: uuid

Headers

Idempotency-Keystringrequired
The persisted UUID for this operation. Retry with the same UUID and original body.
Format: uuid

CHECKOUT_ID: the financial ID returned by Mereu in the authorized account.

Request body

expected_revisionintegerrequired
The current revision returned by the preceding step or checkout read.
Format: int64
Range: 1 – …
paid_totalobjectrequired
Actual money paid; for commit, it must equal expected_paid_total from the quote.
Fields paid_total
amount_minorintegerrequired
An integer in minor units; 10000 means 100.00.
Format: int64
Range: 0 – 100000000
currencystringrequired
The operation currency code, such as MDL or EUR.
Values: "MDL" · "RON" · "EUR" · "USD" · "GBP" · "UAH" · "PLN" · "TRY" · "CHF" · "RUB" · "GEL" · "KZT"
paid_atstringrequired
Actual payment time, RFC3339 with an offset.
Format: date-time
provider_payment_idstringrequired
The unique, verified payment reference in your system.
Response 200 · fields
dataobjectrequired
Authorized resource data.
Fields data
idstringrequired
The resource identifier.
Format: uuid
statusstringrequired
The current resource or operation status.
Values: "prepared" · "payment_started" · "committed" · "cancelled" · "expired" · "needs_review"
quote_idstringrequired
The quote ID returned by preview.
Format: uuid
card_idstringrequired
The Mereu card UUID.
Format: uuid
location_idstringrequired
The authorized Mereu location UUID; inside external_ref, your own store identifier.
Format: uuid
external_refobjectrequired
Stable document references in your integration.
Fields external_ref
sourcestringrequired
The stable integration identifier authorized in the cabinet.
account_idstringrequired
The merchant identifier in the authorized binding.
location_idstringrequired
The authorized Mereu location UUID; inside external_ref, your own store identifier.
idstringrequired
The resource identifier.
reserved_untilstringrequired
Format: date-time
transaction_idstring / nullrequired
The financial ID for transaction reads and refunds.
Format: uuid
revisionintegerrequired
The current checkout revision.
Format: int64
Range: 1 – …
updated_atstringrequired
Format: date-time
review_reasonstring / null

Errors and retrying requests: recovery guide →