Get Transactions
This endpoint will return an array of all transactions.
Get transactions enpoint
GET
https://surtii.com/api/v1/business/transactions
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {{api_key}} |
{
"status": true,
"code": 200,
"message": "Transactions retrieved",
"data": {
"transactions": [
{
"paga": {
"amount": 0,
"accountNumber": "",
"ussdShortCode": ""
},
"payaza": {
"account_number": "",
"transaction_amount": 0,
"transactionFeeAmount": 0,
"transactionPayableAmount": 0
},
"transaction_id": "625ca8b0db7b8251b38741c6",
"user_id": "612ff7edb89c8a7a7adca174",
"amount": 18,
"amount_in_fiat": 10550,
"withdrawal_fee": 1,
"reference": "P-C-20220418-F5LDEKRBA3",
"address": "TFf9KXJSWFVbCKAenoReEjSHCeiGoAoFzG",
"hash": "3c948746dcff1ce60f8851f9559d735abe9f546b53a694c7d371fc0e3abc37b4",
"link": "https://www.payment.scalex.africa/?r=P-C-20220418-F5LDEKRBA3",
"coin_type": "USDT_TRC_20",
"type": "cashout",
"user_type": "customer",
"status": "failed",
"createdAt": "2022-04-17T23:54:24.670Z",
"updatedAt": "2022-04-18T03:00:01.532Z"
},
{
"paga": {
"amount": 0,
"accountNumber": "",
"ussdShortCode": ""
},
"payaza": {
"account_number": "",
"transaction_amount": 0,
"transactionFeeAmount": 0,
"transactionPayableAmount": 0
},
"transaction_id": "625ca76539b1bbb06366f698",
"user_id": "612ff7edb89c8a7a7adca174",
"amount": 18,
"amount_in_fiat": 10551,
"withdrawal_fee": 1,
"reference": "P-C-20220418-NMF89T2L3I",
"address": "TFf9KXJSWFVbCKAenoReEjSHCeiGoAoFzG",
"hash": "3c948746dcff1ce60f8851f9559d735abe9f546b53a694c7d371fc0e3abc37b4",
"link": "https://www.payment.scalex.africa/?r=P-C-20220418-NMF89T2L3I",
"coin_type": "USDT_TRC_20",
"type": "cashout",
"user_type": "customer",
"status": "failed",
"createdAt": "2022-04-17T23:48:53.819Z",
"updatedAt": "2022-04-18T03:00:01.529Z"
},
{
"paga": {
"amount": 0,
"accountNumber": "",
"ussdShortCode": ""
},
"payaza": {
"account_number": "",
"transaction_amount": 0,
"transactionFeeAmount": 0,
"transactionPayableAmount": 0
},
"transaction_id": "625ca57d7c9ad245d74496f2",
"user_id": "612ff7edb89c8a7a7adca174",
"amount": 18,
"amount_in_fiat": 10551,
"withdrawal_fee": 1,
"reference": "P-C-20220418-X2GHO5MJ79",
"address": "TFf9KXJSWFVbCKAenoReEjSHCeiGoAoFzG",
"hash": "3c948746dcff1ce60f8851f9559d735abe9f546b53a694c7d371fc0e3abc37b4",
"link": "https://www.payment.scalex.africa/?r=P-C-20220418-X2GHO5MJ79",
"coin_type": "USDT_TRC_20",
"type": "cashout",
"user_type": "customer",
"status": "failed",
"createdAt": "2022-04-17T23:40:45.035Z",
"updatedAt": "2022-04-18T02:45:01.830Z"
}
]
}
}
{
"status": false,
"code": 400,
"message": "Bad request",
"data": {}
}
{
"status": false,
"code": 401,
"message": "Unauthorized",
"data": {}
}
Last updated