API referenceVirtual accounts

Open a virtual account

POST
/api/b/v1/virtual-accounts

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

admin_access_token?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Registering a collection account a payer can push money to. IN-302.

Two kinds, and scheme decides which. A dedicated account belongs to this business alone, so a credit is attributable without anything else — those need account_identifier. A shared one (local_reference) is a partner account many businesses pay into, where the payer's reference is the only thing telling them apart, so we issue a reference_code instead.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/b/v1/virtual-accounts" \  -H "Content-Type: application/json" \  -d '{    "label": "EUR collections — Bridge",    "currency": "EUR",    "scheme": "sepa"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "label": "string",  "currency": "string",  "scheme": "string",  "provider": "string",  "account_identifier": "string",  "bank_name": "string",  "routing_code": "string",  "reference_code": "string",  "status": "string",  "reference_required": true,  "created_at": "2019-08-24T14:15:22Z"}