curl --location POST 'https://api.insights-periculum.io/collection/generate-mandate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
"requestId": "1709125992320",
"payerName":"Test",
"payerEmail":"[email protected]",
"payerPhone":"08012345035",
"payerBankCode":"057",
"payerAccount":"2110206556",
"amount": "10000",
"startDate":"15/03/2022",
"endDate":"04/10/2022",
"maxNoOfDebits": "6",
"customFields": [
{
"name": "PAYER TIN",
"value": "0000000000",
"type": "ALL"
}
]
}'
Parameters
Name | Description | Type | Required |
---|---|---|---|
requestId | Request id | string | Yes |
payerName | Payer's name | string | Yes |
payerEmail | Payer's email | string | Yes |
payerPhone | Payer's phone | string | Yes |
payerBankCode | Payer's bank code | string | Yes |
payerAccount | Payer's account | string | Yes |
amount | Amount | string | Yes |
startDate | Start date | string | Yes |
endDate | End date | string | Yes |
maxNoOfDebits | Max number of debits | string | Yes |
customFields[i].name | Custom field name | string | Yes |
customFields[i].value | Custom field value | string | Yes |
customFields[i].type | Custom field type | string | Yes |