Assign dedicated account number to wallet
POST/v1/baas/virtual-accounts/assign-dedicated-account-number
Assigns a dedicated account number to a wallet that already has a virtual account.
Request
- application/json
Body
required
walletId stringrequired
The ID of the wallet to assign a dedicated account number to
Responses
- 201
- 400
- 403
- 404
Dedicated account number assigned 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 dedicated account number is assigned to
dedicatedAccountNumber stringrequired
The dedicated account number assigned to the wallet
{
"traceId": "string",
"message": "string",
"data": {
"walletId": "550e8400-e29b-41d4-a716-446655440000",
"dedicatedAccountNumber": "1234567890"
}
}
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...