Skip to main content

ECPay

Features
MethodOver the counter, Async - GET Redirect
CountriesPhilippines
Processing currenciesPHP
Increments-
Captures-
Partial/Multiple partial captures-
Cancels-
Partial/Multiple partial cancels-
Refunds-
Partial/Multiple partial refunds-
Recurring-
Installments-
Credits-
Disputes-
Min Amount50.01
Account verification-

ECPay is a PSP that provides merchants with API services to receive payments from consumers.

Merchants can use the following integrated methods via CVS (convenience reference numbers, i.e. consumers can pay at convenience stores with a payment number received after booking an order), barcode (convenience store barcodes, i.e. consumers can pay for purchases at convenience store chains using a barcode).

Payment flow

ECPay flow

Payment

Request

{
"processingAccountId": "2HdN2jq6XWmlkhqRC2gDTNYCvNH",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"amount": {
"value": 200,
"currency": "php"
},
"paymentMethod": {
"type": "ecpay",
"ecpay": {
"returnUrl": "https://merchant.site/complete-payment",
"description": "Order description",
"consumer": {
"email": "consumer@mail.com",
"phoneNumber": "+63282491111",
"name": "consumer name"
}
}
}
}

Response

{
"id": "27yiclwf8nSPyAeWC4GENXXfPOR",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"status": "pending",
"trackingUrl": "/v1/tracks/payments/{trackId}",
"reason": {
"code": "required_next_step",
"description": "An additional step is needed to complete the payment."
},
"nextStep": {
"type": "redirect",
"redirect": {
"method": "get",
"url": "https://payment.method/complete"
}
}
}