Create recurring application charge
POST/openapi/2026-07/recurring_application_charges
Create a recurring charge for an application.
Request
- application/json
- Body
- Example
Bodyrequired
recurring_application_charge objectrequired
Recurring application charge
The name of recurring application charge
The price of the recurring application charge. Must match the package price defined in the app
The URL to redirect the merchant to after completing the subscription
The number of trial days offered for the subscription
Capped amount the merchant can be billed for usage-based charges. If this field is provided, terms must also be provided
Terms and conditions for usage-based billing. Required if capped_amount is provided
Whether to test the charge (default false)
Charge interval in days. Defaults to 30, range 1-365
{
"recurring_application_charge": {
"name": "string",
"price": 0,
"return_url": "string",
"trial_days": 0,
"capped_amount": "string",
"terms": "string",
"test": true,
"charge_interval_days": 0
}
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
recurring_application_charge object
Recurring application charge
Recurring application charge ID
Application ID
Charge name shown to the merchant
Recurring charge amount
Capped amount for usage-based billing
Terms and conditions text shown to the merchant for usage-based billing
URL the merchant returns to after confirming the charge
URL the merchant is redirected to in order to confirm the charge
Current status of the recurring application charge
Number of trial days offered for the subscription
Date when the subscription was activated
Date when the trial period ends
Next billing date
Charge cancellation date
Subscription cancellation date
Whether this is a test charge
Creation time, in ISO-8601 format
Last update time, in ISO-8601 format
Charge interval in days
{
"code": "string",
"message": "string",
"data": {
"recurring_application_charge": {
"id": "string",
"application_id": "string",
"name": "string",
"price": "string",
"capped_amount": "string",
"terms": "string",
"return_url": "string",
"confirmation_url": "string",
"status": "string",
"trial_days": 0,
"activated_on": "string",
"trial_ends_on": "string",
"billing_on": "string",
"cancelled_on": "string",
"cancel_sub_on": "string",
"test": true,
"created_at": "string",
"updated_at": "string",
"charge_interval_days": 0
}
}
}