Create Virtual Account

Our API endpoint for creating Customer Wallets and Virtual Accounts is accessible through the following URL:

Endpoint: POST - {{baseUrl}}/payment/virtual-account/create

This endpoint supports the creation of virtual accounts by supplying essential parameters. To successfully create a virtual account, you need to include the following parameters in your API request:

ParameterRequiredDescription

private_key

yes

string

first_name

yes

string

last_name

yes

string

phone

yes

string

email

yes

string

Please ensure that all required parameters are included in your API request to successfully create a Customer Wallet or Virtual Account.

Example Request

curl -X POST \
  {{baseUrl}}/v1/payment/virtual-account/create \
  -H "Content-Type: application/json" \
  -d '{
    "private_key": "PUB_00000",
    "first_name": "Mic",
    "last_name": "Testing",
    "phone": "000000000",
    "email": "testers1@test.com"
  }'

Example Response

Last updated