GET
/
subaccount
/
transactions
Transactions
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
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Query Parameters

subaccountId
string
status
string

Optional: PENDING, SUCCESS, FAILED

Example:

"SUCCESS"

type
string

Optional. Search wallet by transaction type

Example:

"DEBIT"

Response

200 - application/json

Transactions

The response is of type object.