Simulating Test Pay Outs
Introduction
When your account is created in Durianpay, you will immediately gain access to the sandbox feature. This feature will allow you to play around with Durianpay's products without having real consequences in the production environment. The sandbox environment is accessible with different API Keys than the production ones, and there will be a different section in Durianpay's Dashboard for sandbox data.
Getting your Sandbox API Keys
Your sandbox API Keys will be shown in your Durianpay dashboard's API Keys page alongside your production API Keys.
Simulating a pay outs
To simulate a pay outs status in sandbox mode, the steps will be as follows:
Step 1: Create a sandbox disbursement
Creating a sandbox disbursement can be done by both API and Dashboard, the same with LIVE environment. Specifically for submitting a disbursement with API, the difference between the ones in LIVE will only be the API Keys. Where you will have to send a proper request body (i.e., the same with LIVE environment) and to the same API endpoints.
Step 2: Simulating the disbursement Status
disbursement status can be simulated by using the "Simulator" feature in Durianpay dashboard. To access this feature, you must:
- Login to your Durianpay Dashboard account
- Change your Durianpay Dashboard's mode to
Sandbox
- Access the Simulator page in Durianpay dashboard
- Navigate towards Disbursements section in Simulator page
On this page, there will be a function to manually mark a sandbox disbursement transaction with a specific status, as shown below:
Afterwards, if you have configured your disbursement webhook in the sandbox environment, corresponding webhook will be sent towards the URL (i.e., your server) that you have specified.
Callback configuration in Sandbox environment is exclusive with the one in LIVE environment. When you are going LIVE, please ensure the webhook is also configured in LIVE environment.
Updated 7 days ago