Delete recurring and scheduled recurring.
Terminate recurring payments and cancel scheduled recurring transactions.
Command
curl --location --request POST
'https://apis.paysolutions.asia/recurring/api/restdeleterecurring' \
--header 'secretkey: {merchant-secret-key}' \
--header 'apikey: {merchant-api-key}' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantID": "last-five-digit of merchant id",
"customerEmail": "customer@mail.com",
"refno": "number 12 digit",
"description": "Recurring Detail"
(OPTIONAL) "scheduleDate": "Date Format yyyy-MM-dd"
}'
Method
POST
URL
https://apis.paysolutions.asia/recurring/api/restaddrecurring
Header
Name | Description |
---|---|
secretkey | Merchant secret key |
apikey | Api Key |
Content-Type | application/json |
JSON Value
Name | Description |
---|---|
merchantID | Last 5 digits of Merchant Id |
customerEmail | Customer email |
refno | number 12 digit **Unique |
description | Recurring Detail (Product Description) |
scheduleDate optional | Date Format yyyy-MM-dd |
Response : Success
{
"success": 1,
"message": "Delete Successful",
"data": {
"merchantID": "last-five-digit of merchant id",
"refno": "number 12 digit",
(Optional) "scheduleDate": "Date format"
}
}
Response : Fail
{
"success": 0,
"message": "Error Message",
"data": {
"merchantID": "last-five-digit of merchant id",
"refno": "number 12 digit",
(Optional) "scheduleDate": "Date format"
}
}