INTRODUCTION

  IMPORTANT AND MANDATORY


Read all the sections in blue to better understand the documentation and sections in orange signifying the alert to avoid errors to be made during integrations and detailed procedures for integration.

Generation of API keys

API keys are your digital references towards PayDunya systems. We use them to identify your account and the applications you will create. These keys are necessary for any integration of the APIs of PayDunya's payments APIs. Here are the steps to follow:

  • First you need have a PayDunya Business account activated. Create one if it is not yet the case.

  • Login to your account and click on Integration API at the menu level on the left.

  • Click on the button Set up a new application and fill out the form.

  • Choose Test mode, I want to make payment tests and Enable production mode.

Creating a test account

A fictitious account or test account allows you to simulate payments during your integration tests with our APIs. You can specify the name, email address, and balance of the dummy customer. PayDunya removes from the fictitious customer balance the amount of the test invoices when payments are made.

Trick

Note that you have the option of creating multiple fictitious accounts and reloading them manually at any time.

Alert

It is strongly recommended to conduct payment tests before going into production mode.

Test data

This is a debugging tool that allows you to see the information transmitted to our server when you perform your payment tests. To access this data:

  • Login to your account and click on Integration API at the menu level on the left.

  • Click on the tab Fictitious internal data in order to have the list of internal data of the test payments.

  • Click on the link Details located to the right of each internal data present at the list level for more information.

Production transition

Info

After the test payment phase done, you can move to production. The Invoice of the transaction generate by paydunya is in PDF format. It is generated by Paydunya.

  • You first have to Login to your account and click on Integration API at the menu level on the left.

  • Under the tab Applications, click on the link Details the application concerned.

  • Scroll down and click on the button Update the configuration.

  • Choose Yes, the application is ready at the option level Enable production mode the update form.

  • Remember to replace the test API keys with the production ones in your application.

  • Specify the mode live at the client API level.

Validation

Then integrate the API Client of your choice from the list below: