Skip to main content
GET
Get virtual account by reference

Overview

Return the account you opened with reference on Create Virtual Account. The answer has the same shape as the create response: the customer (customer_id, customer_reference) and the account in accounts, with your reference on it. Only your own business’s accounts are found. A reference you never opened an account with answers 404 with data.code virtual_account_not_found. This looks up persistent accounts. For a dynamic account opened for an order, use Verify Payment with the order reference.

Authorizations

X-API-Key
string
header
required

API key for authentication.

Path Parameters

reference
string
required

The reference you sent when creating the account.

Response

The account(s) opened under this reference

status
boolean
data
object
error
any[]
message
string