Skip to main content
GET
/
pms
/
api
/
external
/
request
/
virtual-account
/
{businessid}
/
{account}
Get Single Virtual Account
curl --request GET \
  --url https://api.payvessel.com/pms/api/external/request/virtual-account/{businessid}/{account}/ \
  --header 'Content-Type: <content-type>' \
  --header 'api-key: <api-key>' \
  --header 'api-secret: <api-secret>'
{
  "bankCode": "120001",
  "bankName": "9Payment Service Bank",
  "accountNumber": "53663632517",
  "accountName": "ADE OLA",
  "account_type": "STATIC",
  "expire_date": null,
  "trackingReference": "DdGJDGJGJUGYF1038YKXAOE"
}

Headers

api-key
string
required

Your Payvessel public API key

api-secret
string
required

Your Payvessel secret

Content-Type
enum<string>
required

Request content type

Available options:
application/json

Path Parameters

businessid
string
required

Merchant business ID associated with the virtual account

account
string
required

Virtual account number to retrieve

Response

Virtual account retrieved successfully

bankCode
string
required

Partner bank code associated with the account

bankName
string
required

Partner bank name

accountNumber
string
required

Virtual account number

accountName
string
required

Account name assigned to the customer

account_type
enum<string>
required

Virtual account type

Available options:
STATIC,
DYNAMIC
trackingReference
string
required

Tracking reference for payments made to this account

expire_date
string<date-time> | null

Expiration date for dynamic accounts; null for static accounts