Important NotePlease use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.
API Endpoints
| Environment | Endpoint |
|---|---|
| Staging / Sandbox | https://in.staging.decentro.tech/decentro/bulk/bulk_payout |
| Production | https://in.decentro.tech/decentro/bulk/bulk_payout |
This API allows you to facilitate money transfers to/from the linked virtual bank accounts of your customers from within your application.
API Specifications
Request Payload
| Request Parameter | Mandatory (M) / Optional (O) / Conditional Mandatory (CM) | Description |
|---|---|---|
| reference_id | M | A URN to be passed by the user for each batch API request. Alphanumeric values are allowed. Special characters such as “@ # $ % ^ & * ! ; : ~ ` ? = + ) ( apostrophe, double quotes” are not allowed. |
| input_type | M | "JSON" is to be passed |
| input | M | The object where the payout details must be passed. |
| reference_id | M | A URN to be passed by the user for each API request. Alphanumeric values are allowed. Special characters such as “@ # $ % ^ & * ! ; : ~ ` ? = + ) ( apostrophe, double quotes” are not allowed. This parameter can be used for platforms internal mapping of the API request |
| purpose_message | M |
|
| from_account | M | The virtual account against which the payout must be performed. The virtual account added must belong to the provider selected. |
| to_account | CM | The Beneficiary Account to be added.
|
| to_upi | CM | Beneficiary UPI ID to be passed. 'to_upi’ is mandatory if the intended transfer type is UPI.
|
| transfer_type | M | UPI/IMPS/NEFT/RTGS are the available transfer type |
| transfer_amount | M | The Amount to be transferred.Minimum amount is INR 1 (2 Decimal values are allowed Ex: 1.00) |
| beneficiary_code | CM | A URN generated when a beneficiary is created by using Manage Beneficiary API. If the beneficiary_details is passed in the API, then beneficiary_code is not required. |
| beneficiary_details | CM | An object that contains 4 parameters that are required to add the details of the beneficiary. If beneficiary_code is passed in the API, then beneficiary_details are not required. |
| payee_name | M | Beneficiary name to be added. |
| ifsc_code | CM | Beneficiary IFSC code to be added.
|
| email_address | O | Beneficiary Email Address to be added. Alphanumeric and special characters are allowed but after (@), only dot(.) is allowed. Sample email format ([email protected]) |
| mobile_number | O | Mobile numbers have to be strictly 10 digits long and start with one of 9, 8, 7 or 6. Only numeric characters are allowed. Country code is not required. |
Response Payload
| Response Parameter | Mandatory (M) / Optional (O) / Conditional Mandatory (CM) | Description |
|---|---|---|
| status | M | The status of the batch API request. These are the statuses available
|
| decentroTxnId | M | A URN generated by Decentro against the API request |
| download_url | O | A link to the csv file generated that contains the request and response payload for each payout API initiated. This parameter is only available when status is "Success" |
| response_key | O | The response key of the API. This parameter is only available when status is "Failure". |
| message | O | The message on the status of the API action. This parameter is only available when status is "Success" |
Simulation DataDecentro provides the test data which will simulate various scenarios of the API when a transaction takes place.
Note: This test data is only valid in the Staging environment. Account details passed in the from_account parameter must match the provider secret passed in the headers.
Important: Please refer to the Simulation Data guide here
