Direct Pay Online API
- Document definition
This document comes to describe the DPO Pay API, this document will explain the aspects of the API usage. - Usage
This document should be used by developers and managers to understand the options of connecting applications with Direct Pay Online services. - Definitions:
- Customer - End customer
- Provider - The company using Direct Pay Online services
- Application - The provider’s website / web application
- Server - Direct Pay Online server
- Process description
- Client side option A
This is a standard website application procedure- Customer enter a provider application.
- Customer will buy / add to cart items etc.
- Customer will be redirected to the Direct Pay Online payment page
- Customer will pay using any of the available payment options in Direct Pay Online.
- Customer will be redirected back to the application
- Client side option B/C
This option gives providers the option to use Direct Pay Online system with no need for a website.- Customer will receive an e-mail with a link for payment.
- Customer will click the link and go to Direct Pay Online website.
- Customer will pay using any of the available payment options in Direct Pay Online.
- Customer will see a confirmation page by Direct Pay Online.
- Server side
- Application will create a token using the create token.
- Creating a token will be done by sending all the appropriate information to the server.
- Application will charge the customer using the chargeToken request.
- Process diagram (Several options):
{"serverDuration": 13, "requestCorrelationId": "63d3281365b141f3b7b584e1efc1c41e"}