Settlement (Bank Partner)
Implemented by: Partner bank · Called by: OONE
Operation
| Description |
Value |
| URL |
https://{BANK_URL}/settle |
| Method |
POST |
| Key |
Value |
Remark |
| Accept |
application/json |
|
| Content-Type |
application/json |
|
| Authorization |
[bank consider] |
Bank consider any type of authorization |
Request Payload
| Field |
Type |
Required |
Remark |
txn |
string |
yes |
Transaction number |
refNo |
string |
yes |
Ref number from bank |
amount |
decimal |
yes |
Amount to settle |
currency |
string |
yes |
Currency code (ISO 4217) |
Example Request Payload
{
"txn": "F1008XX",
"refNo": "XX011FT",
"amount": 84000,
"currency": "KHR"
}
Response Payload
| Field |
Type |
Remark |
code |
string |
Response code |
message |
string |
Response message |
data |
json |
Data Object |
Response Payload for "data"
| Field |
Type |
Remark |
txn |
string |
Transaction number |
refNo |
string |
Ref number after success settle |
desc |
string |
Description |
Example Response Payload
{
"code": "000",
"message": "",
"data": {
"txn": "F1008XX",
"refNo": "X10311",
"desc": ""
}
}