post https://staging.api.decentro.tech//decentro/bulk/enach_mandate_presentation
This API allows clients to initiate bulk mandate execution requests for eNach mandates via csv
Please export Postman Collection to test this API
Note: This API cannot be tested here as file upload is not supported in this interface. Please export the Postman Collection and try the API there.
Or, use the cURL given below
curl --location --globoff '{{url}}/decentro/bulk/enach_mandate_presentation' \
--header 'client-id: {{client_id}}' \
--header 'client-secret: {{client_secret}}' \
--form 'input=@"/path/to/file"' \
--form 'reference_id="7897a4dc-feae-4349-882d-e41c6b29559w"' \
--form 'input_type="csv"'
- The reference_id (in form data) must be unique for each request.
- Each row’s reference_id must also be unique within the CSV & everywhere.
- Mandates must be in Active status for successful debit.
- Dates must follow the format YYYY-MM-DD.
- Amount should be a numeric string (e.g., "10000").
- Duplicate reference_ids (used before or within the same batch) will result in rejection.
- The API returns a download URL pointing to a CSV file with individual execution statuses. Same can be verified via Bulk Execution Status API/ Merchant dashboard.
CSV File Format
The CSV should have the following headers:
reference_id | decentro_mandate_id | debit_date | amount |
---|---|---|---|
Unique string ID | Valid mandate ID | YYYY-MM-DD | Amount as number string |