Skip to content

Payment Verification (bulk verify)

This operation is to verify the payment (bulk verify).

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

Operation

Description Value
URL https://edc-sit-api.oone.bz/pg-bank-api/payment/verify/multiple/v2
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_refs list of string Yes Payment reference numbers from bank

Example Request Payload

{
    "bank_refs": ["9040326182", "8050244095"]
}

Response Payload

Field Type Remark
code string Response code
message string Response message in English
message_kh string Response message in Khmer
data list List of 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",
                    "consumer_code": "80581211",
                    "consumer_name": "លោក ជា សំណាង",
                    "consumer_name_latin": "Mr. Chea Samnang",
                    "amount": 100000.00
                }
            ]
        },
        {
            "biller_code": "EDC",
            "biller_name": "Electricite Due Cambodge",
            "currency": "KHR",
            "total_amount": 200000.00,
            "bill_amount": 200000.00,
            "convenience_fee_amount": 0.00,
            "sponsor_fee_amount": 0.00,
            "bank_ref": "8050244095",
            "transaction_ref": "344452171035624",
            "transaction_date": "2021-12-07T09:25:30",
            "details": [
                {
                    "company_code": "EDC-BTB",
                    "company_name": "អគ្គិសនីបាត់ដំបង",
                    "consumer_code": "80583411",
                    "consumer_name": "លោក ហេង លី",
                    "consumer_name_latin": "Mr. Heng Lee",
                    "amount": 200000.00
                }
            ]
        }
    ]
}