Create new receiver account
| Request Header | Authorization | |
| Authentication | Yes | |
Create new receiver account
| Request Header | Authorization | |
| Authentication | Yes | |
Request Parameter
| Field | DataType | Required | Description |
| receiverId | bigint | Yes | receiver id |
| senderId | bigint | Yes | sender id |
| bankingTypeId | integer | Yes | -banking type id |
| accountName | string | Yes | account name |
| accountNumber | string | Yes | account number |
| currencyCode | string | Yes | currency code Alpha-3 codes from ISO 4217
-THB only |
| bankCountryCode | string | Yes | -bank country code (Alpha-3 code) from ISO 3166-1
-THA only |
| bankCode | string | Yes | -bank code |
| bankBranchCode | string | No | bank branch code |
Response Parameter
| Field | DataType | Description |
| status | string | response status |
| message | string | response message |
| payload | ||
| id | bigint | receiver account id |
{
"receiverId": 739,
"senderId": 175,
"bankingTypeId": 1,
"accountName": "WIKARNDA SURATPHAWADEE",
"accountNumber": "6602173761",
"currencyCode": "THB",
"bankCountryCode": "THA",
"bankCode" : "004",
"bankBranchCode" : ""
}
| Status Code | Error Description |
| 000 | Success |
| Status Code | Error Description |
| 101 | General/Process error (see message) |
| 301 | Permission denined |
| 401 | Unauthorized |
| 500 | Internal server error (see message) |
{
"status": "000",
"message": "Success",
"payload": {
"id": 761
}
}