Direct Pay Online API

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