GET
/
virtual-accounts
Virtual Account Detail
curl --request GET \
  --url https://nini.monieswitch.com/virtual-accounts \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": {
    "id": "c0cb1edf-d198-47ad-b3f5-e66667153a21",
    "tier": 3,
    "status": "UNUSED",
    "bankCode": "999270",
    "bankName": "Xpress Wallet",
    "accountName": "Omar Marmoush",
    "accountNumber": "4444678944",
    "createdAt": "2024-06-30T01:34:02.334Z",
    "expiryDuration": 30,
    "maxUsage": 1,
    "amount": 2000,
    "merchantId": "f8cfbb4e-fc53-4f0f-a7b9-c07ef6b6e4b8",
    "settlementCharge": 130,
    "initiationReference": "HEN-CfbETISw9mzgnGRl6BF9zUiZ7",
    "webhookURL": "https://webhook.site/e55e2441-6805-4800-9f1f-21606513dad6",
    "currentUsage": 0,
    "customerMetadata": {
      "key": "value"
    },
    "customerReference": "CfbETISw9mzgnGRl6BF9zUiZ7",
    "metadata": {
      "key": "value"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

customerReference
string

Response

200 - application/json

Virtual Account Detail - Successful

The response is of type object.