Recurring payment
Kindly refer to the APIs for recurring payment cancellation, Modification of recurring payment information.
Recurring payment cancellation
The recurring payment cancellation API is used to cancel recurring payments. to cancel the recurring payment using the recurring_id generated during the payment authorization result. Include the recurring_id as a path parameter when calling the recurring payment cancellation API endpoint.
curl --request POST 'https://api-test.eximbay.com/v1/payments/recurring/{recurring_id}/delete' \
--header 'Authorization: Basic dGVzdF8xODQ5NzA1QzY0MkMyMTdFMEIyRDo=' \
--header 'Content-Type: application/json; charset=UTF-8' \
--data '{
}'
A Success message will be returned by the resmsg if the requested API is success.
{
"rescode" : "0000",
"resmsg" : "Success."
}
Modification of recurring payment information
The Modification of recurring payment information API is used to modify recurring payments. To modify the recurring payment information using the recurring_id generated during the payment authorization result. Include the recurring_id as a path parameter when calling the Modification of recurring payment information API endpoint.
curl --request POST 'https://api-test.eximbay.com/v1/payments/recurring/{recurring_id}/adjust' \
--header 'Authorization: Basic dGVzdF8xODQ5NzA1QzY0MkMyMTdFMEIyRDo=' \
--header 'Content-Type: application/json; charset=UTF-8' \
--data '{
"adjust_amount" : "10.50"
}'
A Success message will be returned by the resmsg if the requested API is success.
{
"rescode" : "0000",
"resmsg" : "Success."
}