Transactions
Transaction Timeline
GET
https://backendapi.sayswitchgroup.com/api/v1/transaction/timeline/:id_or_referenceThis endpoint retrieves the timeline or outline of a specific transaction using either its unique ID or its reference.
Path Parameter:
:id_or_reference: The unique identifier (id) or the reference code of the transaction you want to retrieve the timeline for (e.g.,2280orSSW_17471703346211972).
Sample Request
cURL
curl -X GET https://backendapi.sayswitchgroup.com/api/v1/transaction/timeline/SSW_17471703346211972
-H "Authorization: Bearer `YOUR_SECRET_KEY`"Sample Response
JSON
{
"success": true,
"message": "Timeline retrieved",
"data": {
"time_spent": 0,
"attempts": 0,
"authentication": null,
"errors": 0,
"success": false,
"channel": null,
"history": []
}
}