Goods & Services API documentation

Goods & Services API documentation
C. Transactions


Transactions

Overview :

In this section, you will find the list of methods available in the API to process a transaction and deliver values to your loved ones.

Depending on the nature of the product (fixed value voucher, fixed value recharge, variable value payment) the input and output parameters are different and therefore different methods are required.

For each type, 2 methods are available (POST & GET). You will be required to use these specific methods.

A transaction processed by our API is identified by 2 unique identifiers:

  • a DT One identifier that is assigned by our system and returned in the response (referred to as transaction ID)
  • an external identifier which is defined on the client side and passed as an input parameter (referred to as external transaction ID)

Both identifiers may be used to retrieve the status of a past transction. In some case the external transaction ID may be useful if the response was not received/captured by the client. Both identifiers must be unique.

Transaction status:

Each transaction performed by our system has a unique status. For the list of the different status and descriptions follow the link: https://gs-api.dtone.com/doc/annexes/error_codes.html

Available Methods :

# Method End point Description
1 GET & POST /transactions/fixed_value_vouchers To perform and retrieve all the details of a “fixed value voucher” transaction
2 GET & POST /transactions/fixed_value_recharges To perform and retrieve all the details of a “fixed value recharge” transaction
3 GET & POST /transactions/variable_value_payments To perform and retrieve all the details of a “variable value payment” transaction
4 GET /transactions To retrieve the basic information details of a transaction