Complete checkout and create sale transaction
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Body Params application/jsonRequired
{
"cartId": "string",
"paymentMethod": "cash",
"paymentReference": "string",
"bankAccountId": "string"
}
Request Code Samples
curl --location --request POST 'https://mock.apidog.com/m1/1052146-0-default/sales/checkout' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"cartId": "string",
"paymentMethod": "cash",
"paymentReference": "string",
"bankAccountId": "string"
}'
Responses
application/json
Checkout completed successfully
{
"saleId": "string",
"transactionId": "string",
"total": "string",
"paymentMethod": "string",
"message": "string"
}
Modified at 2025-11-25 14:45:50