Retrieves an existing virtual account or creates a new one for the specified currency. Important: This endpoint is only active in production and does not work on staging/dev. Send a GET request with the required currency parameter (and optional amount and customerId). The system will either return an existing virtual account (as a PaymentMethod object) or automatically create and return a new one if none exists for that currency/customer (or business if no customerId is provided).
Static business API key from the dashboard
The 3-letter ISO 4217 currency code for the virtual account
USD, NGN, GBP, EUR Optional expected transaction amount (max 5,000,000)
0 <= x <= 5000000Optional customer ID. If not provided, the account will be created for the business.
Virtual account retrieved or created successfully.