Skip to main content

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
NameDescription
secretkeyMerchant secret key
apikeyApi Key
Content-Typeapplication/json

JSON Value

NameDescription
merchantIDLast 5 digits of Merchant Id
customerEmailCustomer email
refnonumber 12 digit **Unique
descriptionRecurring Detail (Product Description)
scheduleDate optionalDate 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"
}
}