v2
latestOpenAPI 3.1.12026-08-06856719.6 KBCreate Recurring Billing
Once your customer has decided to start the subscription this endpoint will create the recurring billing request. Since this is a server-to-server communication, if you have a mobile or Web client that communicates with your REST API, you must have a new endpoint E.g. /create-subscription or reuse an existing endpoint. This endpoint will be responsible for making the recurring billing API call to HitPay.
post/v1/recurring-billing
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body
Example request
{
"name": "Spotify Premium",
"customer_email": "abc@gmail.com",
"customer_name": "Paul",
"start_date": "2025-12-31",
"payment_methods": [
"card"
],
"times_to_be_charged": 1
}Response
200