v2
latestOpenAPI 3.1.12026-08-06856719.6 KBUpdate Recurring Billing
Use this API to update the recurring billing, any changes made to the cycle will only be effective at the end of the current cycle.
put/v1/recurring-billing/{recurring_billing_id}
Path parameters
recurring_billing_idstring uuid required
id value from the create recurring billing API
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body
Example request
{
"plan_id": "973ee344-6737-4897-9929-edbc9d7bf433",
"name": "Spotify Premium",
"description": "Spotify Monthly Subscription",
"payment_methods": [
"card"
],
"customer_email": "abc@gmail.com",
"customer_name": "Paul",
"start_date": "2025-12-31"
}Response
200
Example response
{
"id": "9741164c-06a1-4dd7-a649-72cca8f9603a",
"business_recurring_plans_id": "973ee344-6737-4897-9929-edbc9d7bf433",
"customer_name": "Paul",
"customer_email": "paul@newemail.com",
"name": "Spotify Premium",
"description": "Spotify Monthly Subscription",
"reference": "cust_id_123",
"cycle": "monthly",
"currency": "sgd",
"amount": 12.9,
"times_to_be_charged": 9,
"times_charged": 2,
"status": "active",
"redirect_url": "https://newexamaple.com/completed",
"payment_methods": [
"giro"
],
"created_at": "2022-09-13T21:32:00",
"updated_at": "2022-09-13T21:32:00",
"url": "https://securecheckout.sandbox.hit-pay.com/973ee344-6737-4897-9929-edbc9d7bf433/recurring-plan/9741164c-06a1-4dd7-a649-72cca8f9603a"
}