Subscription settings
Retrieve your subscription settings
GET
/subscription_settingsHeaders
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Returns
The settings for this environment.
resourcestringdefault_enginestringdefault_connectionstring or nullfailed_paymentobjectWhat Pay.com's engine does when a renewal fails, replacing a package's retry settings. Engines that retry themselves ignore it: Pay.com never retries a charge another system retries.
Show 3 child attributesHide child attributes
retry_after_daysarray of integersDays after the failed renewal for each retry, for example [3, 5, 7]. Pay.com also retries soon after a card is updated.
final_actionstringWhat happens after the last retry fails.
grace_daysintegerDays the customer keeps access while unpaid.
disputesobjectWhat happens to a subscription when one of its payments is disputed.
Show 1 child attributeHide child attributes
actionstringtest_modebooleanErrors
401The API key is missing or wrong.
403The key's permissions don't allow this route.
Was this page helpful?