- Payment at the Location Account and Loyalty (Various Methods)
Receipt of a Sales Transaction
Delete a Loyalty Payment Transaction
Delete a Cashier Payment Transaction
Payment at the Location A...
As a response, information about the Sale operation is returned
Security
BearerPartnerUser
- In the case of payment by a gift card, if the user does not have the "Pay by gift card and membership without code" right, the "number" (string) parameter containing the gift card code must also be passed in the request body.
- In the case of payment by membership, if the user does not have the "Pay by gift card and membership without code" right, the "number" (string) parameter containing the membership code must also be passed in the request body.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/sale/{document_id}/payment
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/sale/{document_id}/payment
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/sale/{document_id}/payment' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"payment": {
"method": {
"slug": "account",
"account_id": 90218
},
"amount": 123
}
}'OK
Object with data
Example:
{ "state": { "items": [ … ], "loyalty_transactions": [ … ], "payment_transactions": [ … ] }, "kkm_state": { "last_operation_type": 1, "transactions": [ … ] }, "payment_methods": [ { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }
Response
{ "success": true, "data": { "state": { … }, "kkm_state": { … }, "payment_methods": [ … ] }, "meta": [] }