Transactions
List Transactions on Card
API Documentation
Business
- Account
- Disburse
- Payment
Cards
Transactions
Miscellaneous
Transactions
List Transactions on Card
GET
/
transactions
curl --request GET \
--url https://api.sandbox.saalal.com/v1/transactions \
--header 'Authorization: Bearer <token>'
{
"message": "OK",
"statusCode": 200,
"data": {
"transaction": [
{
"slug": "e1d30877-0353-45b3-82fb-92780238ecb4",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g54atb0849ttb22c",
"status": "success",
"kind": "recharge",
"merchant": false,
"amount": 2000,
"created_at": "2023-06-22T10:40:17.000000Z"
},
{
"slug": "119d2a37-22e8-4122-9d18-267909aef996",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g5g4atb0849ttb22c",
"status": "success",
"kind": "recharge",
"merchant": false,
"amount": 2000,
"created_at": "2023-06-22T11:07:07.000000Z"
},
{
"slug": "1e4aa0d1-1979-47a0-83e6-ecb1c19f0a18",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g5hhg4atb0849ttb22c",
"status": "success",
"kind": "recharge",
"merchant": false,
"amount": 1000,
"created_at": "2023-06-22T11:18:01.000000Z"
},
{
"slug": "9e3c8b93-d024-4973-bd50-64310879502a",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g5hhg4a88jtb0849ttb22c",
"status": "success",
"kind": "withdraw",
"merchant": false,
"amount": 1000,
"created_at": "2023-06-22T11:25:37.000000Z"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Response
200 - application/json
OK
Example:
"OK"
Example:
200
Example:
"792c6cf2-f5cf-46c8-bf8c-699a9028010e"
Example:
"9c54515e-7890-44f9-8cc2-a85b80322b98"
Example:
1000
Example:
"success"
Example:
"recharge"
Example:
"Any"
Example:
"2023-06-22T11:07:07.000000Z"
curl --request GET \
--url https://api.sandbox.saalal.com/v1/transactions \
--header 'Authorization: Bearer <token>'
{
"message": "OK",
"statusCode": 200,
"data": {
"transaction": [
{
"slug": "e1d30877-0353-45b3-82fb-92780238ecb4",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g54atb0849ttb22c",
"status": "success",
"kind": "recharge",
"merchant": false,
"amount": 2000,
"created_at": "2023-06-22T10:40:17.000000Z"
},
{
"slug": "119d2a37-22e8-4122-9d18-267909aef996",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g5g4atb0849ttb22c",
"status": "success",
"kind": "recharge",
"merchant": false,
"amount": 2000,
"created_at": "2023-06-22T11:07:07.000000Z"
},
{
"slug": "1e4aa0d1-1979-47a0-83e6-ecb1c19f0a18",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g5hhg4atb0849ttb22c",
"status": "success",
"kind": "recharge",
"merchant": false,
"amount": 1000,
"created_at": "2023-06-22T11:18:01.000000Z"
},
{
"slug": "9e3c8b93-d024-4973-bd50-64310879502a",
"card_reference": "9c54515e-7890-44f9-8cc2-a85b80322b98",
"reference": "b60f55b1-922a-406a-8417-g5hhg4a88jtb0849ttb22c",
"status": "success",
"kind": "withdraw",
"merchant": false,
"amount": 1000,
"created_at": "2023-06-22T11:25:37.000000Z"
}
]
}
}