v1
latestOpenAPI 3.0.32026-07-248079274.0 KBSubscriptions
Update payment failure configuration
Updates the subscription's automated payment recovery enrolment by changing its recovery_strategy. Send none to unenrol. The auto-cancellation threshold (incomplete_bills_before_cancellation) can only be set when the subscription is created and cannot be changed here.
patch/subscriptions/{subscription_id}/payment_failure_configuration
Path parameters
subscription_idstring required
Example:01HNY4G8G5ZMAXQB8T0Z1Y1ZMW
Unique identifier for the subscription.
Request body
Example request
{
"recovery_strategy": "example_strategy"
}Response
Payment Failure Configuration Updated
Example response
{
"recovery_strategy": "example_strategy",
"links": [
{
"rel": "subscription",
"href": "/v1/subscriptions/01HNY4G8G5ZMAXQB8T0Z1Y1ZMW",
"method": "GET"
}
]
}