cURL
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 }
Virtual Account Detail
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
customer reference
"dS0xqm9ibC4cjBJSpNiOs9aj9"
Virtual Account Detail / Virtual Account Detail - (Paid))
The response is of type object.
object