Skip to main content

Create Recurring.

Recurring Payments for Consistent Billing

Merchants who bill the same amount to the same customers every month can streamline their payment process with our recurring payment solution. This automated system charges customers on a regular basis by deducting funds from their credit cards, ensuring seamless product or service usage.

Recurring Payment Process

  1. Set up recurring payments by enabling customers to register their credit cards.
  2. Once the customer completes registration, merchants can initiate a recurring payment schedule (one day in advance).
  3. The recurring payment system will process the payment between 07:30 and 09:00 hrs on the following day.
  4. If a merchant needs to cancel a recurring payment schedule, the cancellation must be made before 23:59:59 on the same day the schedule was created.

Create a recurring schedule for customer card register

Create Recurring

Command

curl --location --request POST 
'https://apis.paysolutions.asia/recurring/api/restaddrecurring' \
--header 'secretkey: {merchant-secret-key}' \
--header 'apikey: {merchant-api-key}' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantID": "last-five-digit of merchant id",
"firstName": "Customer-Name",
"lastName": "Customer-Lastname",
"customerEmail": "customer@mail.com",
"refno": "number 12 digit",
"description": "Recurring Detail"
}'

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
firstNameCustomer First Name
lastNameCustomer Last Name
customerEmailCustomer email
refnonumber 12 digit **Unique
descriptionRecurring Detail (Product Description)

Response : Success

{
"success": 1,
"message": "Successful",
"data": {
"merchantID": "last-five-digit of merchant id",
"firstname": "Customer-Name",
"lastname": "Customer-Lastname",
"refno": "number 12 digit",
"description": "Recurring Detail",
"confirmLink": "https://controls.paysolutions.asia/recurring/confirm-member?uuid=1234567891011111"
}
}

Response : Fail

{
"success":0,
"message": "This Ref. No is already exists.",
"data": {
"merchantID": last-five-digit of merchant id,
"firstname": "Customer-Name",
"lastname": "Customer-Lastname",
"refno": "number 12 digit",
"description": "Recurring Detail"
}
}

Create recurring with charge amount when customer register

Command

curl --location --request POST 
'https://apis.paysolutions.asia/recurring/api/restaddrecurringwc' \
--header 'secretkey: {merchant-secret-key}' \
--header 'apikey: {merchant-api-key}' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantID": "last-five-digit of merchant id",
"firstName": "Customer-Name",
"lastName": "Customer-Lastname",
"customerEmail": "customer@mail.com",
"refno": "number 12 digit",
"description": "Recurring Detail",
"charge": "{12.34}"
}'

Method

POST

URL

https://apis.paysolutions.asia/recurring/api/restaddrecurringwc

Header

NameDescription
secretkeyMerchant secret key
apikeyApi Key
Content-Typeapplication/json

JSON Value

NameDescription
merchantIDLast 5 digits of Merchant Id
firstNameCustomer First Name
lastNameCustomer Last Name
customerEmailCustomer email
refnonumber 12 digit **Unique
descriptionRecurring Detail (Product Description)
chargeCharge Amount numeric 2 digit eg. 1234.56

Response : Success

{
"success": 1,
"message": "Successful",
"data": {
"merchantID": "last-five-digit of merchant id",
"firstname": "Customer-Name",
"lastname": "Customer-Lastname",
"refno": "number 12 digit",
"description": "Recurring Detail",
"confirmLink": "https://controls.paysolutions.asia/recurring/confirm-member?uuid=1234567891011111"
}
}

Response : Fail

{
"success": 0,
"message": "This Ref. No is already exists.",
"data": {
"merchantID": "last-five-digit of merchant id",
"firstname": "Customer-Name",
"lastname": "Customer-Lastname",
"refno": "number 12 digit",
"description": "Recurring Detail"
}
}
  1. When the customer clicks the link, a screen will appear to fill in credit card details.

Create Recurring

  1. Customer input CVV for confirmation.

Create Recurring

  1. Upon successful OTP verification, the system will charge a 1 Baht fee for standard transactions or the specified amount for API-initiated transactions.

Create Recurring

  1. When finished, the system will display a confirmation message.
  2. The system sends postback data to the merchant's website based on the configuration in https://controls.paysolutions.asia (Merchant Setting > Return Parameter).

Create Recurring

  1. Merchants can review orders generated by the recurring payment system by logging into https://controls.paysolutions.asia and navigating to Recurring Service > Create Recurring.

Create Recurring

  1. If the customer wishes to cancel before registering their credit card, the merchant can delete the recurring order by clicking the (x) button.

Create Recurring