Transaction
Private Transaction API endpoints
An API endpoint to get list of transactions.
Query parameters
pageoptionalintegerPage
per_pageoptionalintegerEntities per page
customer_idoptionalintegerFilter by customer ID
invoice_idoptionalintegerFilter by invoice ID
statusoptionalstringFilter transactions by status (e.g., success, failed)
Possible values: success, failed.
external_idsoptionalstring[]Filter transactions by external (gateway) transaction IDs
Returnsobject
Transactions list response
Error responses
422objectA query parameter failed validation: page below 1, per_page outside 1 to 100, a customer_id or invoice_id that does not belong to the shop, a status other than success or failed, an external_ids[] value that matches no transaction of the shop, or a non-array expand[].
A detailed description of the charge transaction.
Path parameters
transaction_idRequiredintegerTransaction ID
Format: integer.
ReturnsTransaction
Transaction object response
Error responses
400objectThe transaction exists but belongs to another shop.
404objectNo transaction exists with this ID.
422objectThe expand[] parameter is not an array.