Skip to content

Online Payment

Document version 1.3.0 · Modified 14/09/2022

This is sample API document for web payment that bank could use it to develop at their side.

Who implements it: the partner bank. Who calls it: EDC App / Web. The bank sends the result back to EDC through the return URL and the callback (webhook).

Flow

Online payment flow

Endpoints

Endpoint Method URL Implemented by
Create Transaction POST https://{domain}/transaction/create Partner bank
Redirect to Return URL — — Partner bank (redirect)
Verify Transaction POST https://{domain}/transaction/verify Partner bank
Callback (Webhook) — — EDC (receives at callback_url)

Sample Screens for Web Payment

Sample screens for web payment

Sample screens for mobile payment

Downloads

  • OpenAPI file: online-payment.yaml (import into Postman, Swagger UI, or GitBook's OpenAPI block)