Virtual Accounts

List a customer's virtual accounts

Changed on

Returns every instrument issued to this customer. More than one is normal, and label is how you tell them apart.

get/v1/customers/{customerId}/virtual_accounts

Request

  • Base URL
    https://api.sandbox.alfredpay.io
  • URL
    https://api.sandbox.alfredpay.io/v1/customers/{customerId}/virtual_accounts
  • Auth
    • HTTP bearer
    • or API key in header api-key and API key in header api-secret

Query parameters

status'active' | 'suspended' | 'migrating' | 'closed'
purpose'CONVERSION' | 'BALANCE' | 'PAYMENT'

On a virtual account it routes every deposit. On the customer profile (plural) it is the declared intent that gates which may be created.

limitinteger
cursorstring

Opaque. Pass next_cursor from the previous page.

Response

OK

has_moreboolean
next_cursorstring nullable

Changes