POST
/
virtual-accounts
Create Virtual Account
curl --request POST \
  --url https://nini.monieswitch.com/virtual-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data null
{
  "status": true,
  "message": "Account created successfully",
  "data": {
    "amount": 40000,
    "metadata": {
      "environment": "Testing"
    },
    "bankName": "Xpress Wallet",
    "bankCode": "999270",
    "accountName": "Testing 01",
    "accountNumber": "4451119335",
    "platformShare": 700,
    "payableAmount": 40000,
    "subaccountShare": 36000,
    "subaccountSettlement": 36000,
    "mainAccountShare": 4000,
    "mainAccountSettlement": 3300,
    "customerReference": "37O8KIfI0xDZ31BWqRXDGI6KJ",
    "expirationDurationInMinutes": 30,
    "createdAt": "2024-07-30T14:10:35.512Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json · object

Response

200 - application/json

Create Virtual Account - Successful

The response is of type object.