Validate account with bank account
POST /api/v1/Payments/validate-account-name
Description
This endpoint is used to validate account names against bank accounts.
Tags:
Payments
URL:
/api/v{version}/Payments/validate-account-name
ApiKey:
No API key required
Content-Type:
application/json
Request Body:
jsonCopy code{
"AccountNumber": "string",
"BankCode": "string",
"AccountName": "string"
}
Query Parameters:
None
Response:
Success, returns the validation status of the account name.
Error Codes:
None
Example:
bashCopy codePOST /api/v1/Payments/validate-account-name
Content-Type: application/json
Accept-Language: en
{
"AccountNumber": "001122334455",
"BankCode": "NIB",
"AccountName": "John Doe"
}
/api/v1/Payments/validate-account-name
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Body (raw)
{
"bankCode": `<string>`,
"accountNumber": `<string>`
}
Response: 200
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/Payments/validate-account-name \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!