Update Recurring Application Charge

Updates the capped amount for a recurring application charge.

The Update Recurring Application Charge API updates the capped amount for a recurring application charge. The capped amount must be greater than the original maximum.

This API is especially useful for:

  • Adjusting the capped amount for recurring charges based on new usage requirements.
  • Dynamically updating billing constraints for subscription plans.
  • Ensuring the capped amount aligns with increased usage or consumption.

Request Parameters

Public Request Parameters

📘

Path Parameters

NameTypeRequiredDescriptionExample
recurring_charge_idstringYesThe ID of the recurring application charge.372269669345671159

Body Parameters

NameTypeRequiredDescriptionExample
capped_amountfloatYesThe maximum usage fee. Must be greater than the original maximum.50.0

Response Description

Public Response Fields

📘

Success Response

FieldTypeExampleDescription
codestring"success"Status code of the response
messagestringDescriptive message of the response
data.recurring_application_chargesarray of objects[ {...}, {...} ]List of recurring charges
data.cursorstringnext_page_cursorCursor for next page
data.has_morebooleantrueWhether there are more pages available

Recurring Charge Object Structure

ParameterTypeExampleDescription
idstringrch_123456Unique identifier for the recurring charge
application_idstringapp_123456ID of the associated application
namestringPremium PlanName of the recurring charge
pricestring19.99Price of the charge
capped_amountstring100.00Maximum amount that can be charged
termsstringMonthly subscriptionTerms of the charge
return_urlstringhttps://example.com/returnURL to return after confirmation
confirmation_urlstringhttps://example.com/confirmURL to confirm the charge
statusstringactiveStatus of the charge
trial_daysint3214Number of trial days
activated_onstring2023-06-01T00:00:00ZDate when charge was activated (ISO 8601 format)
trial_ends_onstring2023-06-15T00:00:00ZDate when trial ends (ISO 8601 format)
billing_onstring2023-06-16T00:00:00ZDate when billing occurs (ISO 8601 format)
cancelled_onstring2023-06-30T00:00:00ZDate when charge was cancelled (ISO 8601 format)
cancel_sub_onstring2023-06-30T00:00:00ZDate when subscription was cancelled (ISO 8601 format)
testbooleanfalseWhether this is a test charge
created_atstring2023-05-01T00:00:00ZCreation time (ISO 8601 format)
updated_atstring2023-06-01T00:00:00ZLast modified time (ISO 8601 format)

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!