Query Virtual Account

Query a specific virtual account by account number.

Retrieves the details and current status of a virtual account from the payment processor.

Endpoint

POST /v1/virtual-accounts/query

Authentication

Header
Value

x-api-key

Your API key

Request body

Field
Type
Required
Description

accountNumber

string

Yes

Virtual account number to query

Example request

curl -X POST https://ramp-api.ivorypay.io/api/v1/virtual-accounts/query \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "accountNumber": "9900123456"
  }'

Example response

Last updated