Transaction
Create transaction
Opens a transaction for a customer on a given vending (A-POP).
Authorization
ApiKeyAuth Authorization<token>
API key created in the dashboard (Settings → Manage API Keys). Sent in the
Authorization header. Whether a Bearer prefix is required is unconfirmed —
verify against a live request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/transactions" \ -H "Content-Type: application/json" \ -d '{ "customerId": "string", "vendingId": "f5346069-35a3-4c65-a177-7c64cf8dd15c" }'{ "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc", "transactionStatus": "active"}{ "error": { "messages": [ "string" ] }}