cURL
curl --request GET \ --url https://api.sandbox.saalal.com/v1/transactions/{reference} \ --header 'Authorization: Bearer <token>'
{ "message": "OK", "statusCode": 200, "transaction": { "slug": "792c6cf2-f5cf-46c8-bf8c-699a9028010e", "card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98", "reference": "b60f55b1-922a-406a-8417-g54atb0849ttb22c", "status": "pending", "kind": "recharge", "merchant": "Any", "amount": 2000, "created_at": "2023-06-22T10:40:17.000000Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object