GET
/
virtual-accounts
Virtual Account Detail
curl --request GET \
  --url https://nini.monieswitch.com/virtual-accounts \
  --header 'Authorization: <authorization>'
{
  "data": {
    "amountPaid": null,
    "amountStipulated": "200",
    "createdAt": "2023-12-05T18:14:42.334Z",
    "customerMetadata": {
      "key": "value",
      "reason": "testing"
    },
    "customerReference": "dS0xqm9ibC4cjBJSpNiOs9aj9",
    "expirationDurationInMinutes": 30,
    "merchantId": "f8cfbb4e-fc53-4f0f-a7b9-c07ef6b6e4b8",
    "message": null,
    "paidAt": null,
    "paymentReference": null,
    "paymentStatus": "NO_PAYMENTS_YET",
    "recipientAccountName": "Omar Marmoush",
    "recipientAccountNumber": "4490281930",
    "recipientBankCode": "999270",
    "recipientBankName": "Xpress Wallet",
    "senderAccountName": null,
    "senderAccountNumber": null,
    "senderBankCode": null,
    "senderBankName": null,
    "sessionId": null,
    "settledAmount": 97,
    "settlementCharge": "103"
  },
  "status": true
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Query Parameters

customerReference
string

customer reference

Example:

"dS0xqm9ibC4cjBJSpNiOs9aj9"

Response

200 - application/json

Virtual Account Detail / Virtual Account Detail - (Paid))

The response is of type object.