List the transactions of a sale
GET
/transaction/external/{engine}/{engine_id}Lists the events Cademí received from a gateway for a sale or subscription ID, oldest first. No match returns an empty list.
Authorization
apiKey AuthorizationBearer <token>
The school API key, found in the dashboard settings, sent in the Authorization header. The Bearer prefix is optional.
In: header
Path Parameters
engine*string
Gateway key.
engine_id*string
Sale ID or subscription ID at the gateway.
Response Body
application/json
application/json
curl -X GET "https://example.com/transaction/external/string/string"{ "code": 200, "message": "string", "profiler": [], "success": true, "version": 2, "data": { "transactions": [ { "client_doc": "string", "client_email": "string", "client_name": "string", "client_phone": "string", "created_at": { "iso": "2019-08-24T14:15:22Z", "unix": "string" }, "engine": "string", "error": "string", "id": 0, "product_id": [ "string" ], "recurrence_id": "string", "recurrence_status": "TRIAL", "status": "PROCESSED", "transaction_id": "string", "transaction_status": "TRIAL" } ] }}