Create new VA
This API creates a new virtual account for a specified customer via a selected Payment Service Provider (PSP). It returns the details of the virtual account including the account number and related metadata.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pspId` | string | Yes | Identifier for the Payment Service Provider (e.g., `"finmo"`). |
| `customerId` | string | Required for Finmo only. It's optional for others | Unique identifier of the customer for whom the virtual account is created. |
| `currency` | string | Yes | ISO 4217 currency code for the virtual account (e.g., `"SGD"`). |
| `country` | string | Yes | ISO 3166-1 alpha-2 country code (e.g., `"SG"` for Singapore). |
Request
This endpoint expects an object.
pspId
country
currency
customerId
Response headers
Pragma
Expires
Request-Id
Cache-Control
X-Frame-Options
X-XSS-Protection
X-Content-Type-Options
Response
OK
id
pspId
country
currency
methodId
createdAt
createdBy
updatedAt
updatedBy
customerId
pspVirtualAccountId

