- 1. Log into the Dashboard
- 2. Create our first payment
Yay, you have just installed PAYLAY CE using the Docker Compose guide.
In this tutorial, we will show you the exact steps that you need to take in order to get started.
Navigate to the dashboard endpoint and log in:
Every application that you integrate with the PaymentServer is called an Integration.
Navigate to the Integrations page, and add a new Integration. An API Key will be generated for every Integration that you add. The API Key is needed for every API request to the PaymentServer.
Before you are able to add a Payment Provider to your Integration, you should have (created) a Payment Provider account and obtained some test/production authentication credentials (API key, secret, or equivalent).
Once you have that, add the Payment Provider in the Dashboard, and enter the authentication credential of the Payment Provider.
Your application should act on every Payment Status Change, e.g. topping up credits, proceeding with the fulfilment process. In order to get these notifications, you should add a Notification Provider.
You are not obliged to configure this step, though.
You must configure a Payment Routing Rule. This is how the PaymentServer decides which Payment Provider will handle a Payment Request.
Leave all conditions blank to make a Payment Provider the preferred supplier.
Now that we have configured 1 Payment Provider, we can start our first payment.
Navigate to the Swagger endpoint to play with the API:
Click on the Authorize button with lock icon and enter the API Key of the Integration that you just created.
POST /api/Payment endpoint to create a new payment.
PaymentRequestResponse schemas ares well-documented in the Swagger tool, so please use the Swagger tool as your main source of documentation.