cURL
curl --request GET \ --url https://nini.monieswitch.com/subaccount/transactions \ --header 'Authorization: <authorization>'
{ "data": { "currentPage": 1, "perPage": 20, "totalPages": 1, "totalRecords": 7, "transactions": [ { "amount": 100, "charge": 20, "createdAt": "2024-03-06T09:35:33.033Z", "id": "4e5f4d01-8d86-409c-9495-63e45bf50a3a", "metadata": { "userId": "testing123" }, "narration": "Testing crediting", "status": "SUCCESS", "type": "DEBIT", "wallet": { "accountName": "James002", "accountNumber": "4466123095", "bankCode": "999270", "bankName": "Xpress Wallet" } } ] }, "status": true }
Transactions
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
Optional: PENDING, SUCCESS, FAILED
"SUCCESS"
Optional. Search wallet by transaction type
"DEBIT"
The response is of type object.
object