Create virtual account
POST/baas/virtual-accounts
This endpoint creates a virtual account for a customer. In order to create a virtual account, the customer must have completed KYC and have a complete customer profile.
Request
- application/json
Body
required
walletId stringrequired
Responses
- 201
- 400
- 403
- 404
Virtual Account created and linked to wallet with success.
- application/json
- Schema
- Example (from schema)
Schema
traceId string
message string
data
object
walletId stringrequired
The ID of the wallet that the virtual account is linked to
virtualAccountNumber stringrequired
The virtual account number assigned to the customer
{
"traceId": "string",
"message": "string",
"data": {
"walletId": "550e8400-e29b-41d4-a716-446655440000",
"virtualAccountNumber": "256783259046169"
}
}
Invalid request payload. This can happen if required fields are missing or have invalid formats.
- application/json
- Schema
- Example (from schema)
Schema
traceId string
message string
{
"traceId": "string",
"message": "string"
}
The API key is invalid or the client does not have sufficient permissions.
- application/json
- Schema
- Example (from schema)
Schema
traceId string
message string
{
"traceId": "string",
"message": "string"
}
One of the specified resources was not found. Does not apply for empty result set.
- application/json
- Schema
- Example (from schema)
Schema
traceId string
message string
{
"traceId": "string",
"message": "string"
}
Loading...