Get All Virtual Accounts

Get Virtual Accounts

get

Returns list of Virtual Accounts for a customer

Path parameters
customer_idstringRequired

The unique identifier of the customer

Header parameters
AuthorizationstringRequired

Token for authentication

Responses
200
Successful retrieval of virtual accounts
application/json
get
GET /v0/customers/{customer_id}/virtual-account HTTP/1.1
Host: api.alignlabs.dev
Authorization: text
Accept: */*
200

Successful retrieval of virtual accounts

{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "status": "active",
      "destination_token": "usdc",
      "destination_network": "polygon",
      "destination_address": "text",
      "deposit_instructions": {
        "payment_rails": [
          "swift"
        ],
        "currency": "eur",
        "bank_name": "text",
        "bank_address": "text",
        "account_holder_name": "text",
        "iban": {
          "bic": "text",
          "iban_number": "text"
        }
      }
    }
  ]
}

Last updated