Skip to content

Payment Verification

This operation is to verify the payment.

Implemented by: EDC Payment Gateway · Called by: Partner bank

Operation

Description Value
URL https://edc-sit-api.oone.bz/pg-bank-api/payment/verify/v3
Method POST

Headers

Key Value Remark
Accept application/json
Content-Type application/json
Authorization Bearer Will provide privately

Request Payload

Field Type Required Remark
bank_ref string Yes Payment reference number from bank

Example Request Payload

{
    "bank_ref": "9040326182"
}

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
biller_code string Biller prefix code
biller_name string Biller name
currency string Currency code (ISO 4217)
total_amount decimal Total amount to pay
bill_amount decimal Bill amount
convenience_fee_amount decimal Transaction fee will pay by consumer
sponsor_fee_amount decimal Transaction fee will pay by biller
bank_ref string Payment reference number from bank
transaction_ref string Payment reference number from EDC
transaction_date string Payment date
details json list List of each consumer details and amount

Response Payload for "details"

Field Type Remark
company_code string Company code
company_name string Company name
consumer_code string Consumer code
consumer_name string Consumer name
consumer_name_latin string Consumer name in Latin
amount decimal Amount to pay of the consumer

Example Response Payload

{
    "code": "000",
    "message": "",
    "message_kh": "",
    "data": {
        "biller_code": "EDC",
        "biller_name": "Electricite Due Cambodge",
        "currency": "KHR",
        "total_amount": 100000.00,
        "bill_amount": 100000.00,
        "convenience_fee_amount": 0.00,
        "sponsor_fee_amount": 0.00,
        "bank_ref": "9040326182",
        "transaction_ref": "174952172035635",
        "transaction_date": "2021-12-07T09:25:30",
        "details": [
            {
                "company_code": "EDC-BTB",
                "company_name": "អគ្គិសនីបាត់ដំបង",
                "consumer_code": "80581211",
                "consumer_name": "លោក ជា សំណាង",
                "consumer_name_latin": "Mr. Chea Samnang",
                "amount": 100000.00
            }
        ]
    }
}