Validate Subscribe Token
Partnered bank able to generate subscribe token with this operation.
Implemented by: EDC Payment Gateway · Called by: Partner bank
Operation
| Description |
Value |
| URL |
https://edc-sit-api.oone.bz/pg-directdebit-api/validate/token/v1 |
| Method |
POST |
| Key |
Value |
Remark |
| Accept |
application/json |
|
| Content-Type |
application/json |
|
| Authorization |
Bearer |
Will provide privately |
Request Payload
| Field |
Type |
Required |
Remark |
biller_code |
string |
Yes |
Biller prefix code (Default is EDC) |
consumer_code |
string |
Yes |
Consumer code |
ref_no |
string |
Yes |
Full bank account number of the consumer |
subscribe_date |
string |
Yes |
Subscription date (ISO 8601) |
Example Request Payload
{
"biller_code": "EDC",
"consumer_code": "73562510",
"ref_no": "001937779",
"subscribe_date": "2022-02-18 15:30:12"
}
Response Payload
| Field |
Type |
Remark |
code |
string |
Response code |
message |
string |
Response message in English |
message_kh |
string |
Response message in Khmer |
data |
json |
Data object |
Response Payload for "data"
| Field |
Type |
Remark |
subscribe_token |
string |
Hash calculation field |
Example Response Payload
{
"code": "000",
"message": "",
"message_kh": "",
"data": {
"subscribe_token": "...Wk83giJmm3zQEqCoNUGXRUe+I5U7mSd0CCCGRa70aBw=="
}
}