customerId from Create customers, and an API key with the Virtual accounts permission.
The examples use the sandbox base URL. For production, see Base URLs.
Create a virtual account
POST /v2/wallets/{walletId}/virtual-accounts
Creates a passthrough virtual account on your FBO wallet for an approved customer. Pass the FBO wallet’s ID as walletId, the customer’s customerId, and an idempotentId you generate for the request. Repeat this call with a new idempotentId to give the same customer another virtual account. Once the customer reaches their limit, the call returns 403. See Create a virtual account for a wallet for the full reference.
This call must be signed with the Api-Signature and Api-Timestamp headers. See Request signing.
Request
Response