Skip to main content

Inquiry recurring and scheduled recurring.

Inquiry recurring payment details and check scheduled recurring transactions.

Command

curl --location --request POST 
'https://apis.paysolutions.asia/recurring/api/restgetrecurring’ \
--header 'secretkey: {merchant-secret-key}' \
--header 'apikey: {merchant-api-key}' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantID": "last-five-digit of merchant id",
"refno": "number 12 digit"
}'

Method

POST

URL

https://apis.paysolutions.asia/recurring/api/restgetrecurring’
NameDescription
secretkeyMerchant secret key
apikeyApi Key
Content-Typeapplication/json

JSON Value

NameDescription
merchantIDLast 5 digits of Merchant Id
refnoCurrent ref no. number 12 digit **Unique

Response : Success

{
"success": 1,
"message": "Delete Successful",
"data": {
"merchantID": "last-five-digit of merchant id",
"firstname": "Customer-Name",
"lastname": "Customer-Lastname",
"refno": "number 12 digit",
"description": "Recurring Detail",
"amount": "Amount Recurring (if create from paysolutions website it is 0)",
"data": [(if no schedule recurring data will blank)
{
"occurranceNo": "Count Recurring",
"scheduleDate": "Date schedule Format yyyy-MM-ddT00:00:00",
"status": "Status Schedule (success,fail,cancel)",
"amount": "Amount Schedule (if create recurring from controls web it is null)",
"countFail": "Count Failed"
},
{...},
{...}
]
}
}

Response : Fail

{
"success": 0,
"message": "Error Message",
"data": {
"merchantID": last-five-digit of merchant id,
"refno": "number 12 digit"
}
}