Skip to Content
Docs
Subscription settings

Retrieve your subscription settings

GET/subscription_settings

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Returns

The settings for this environment.

resourcestring
default_enginestring
default_connectionstring or null
failed_paymentobject

What 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 integers

Days after the failed renewal for each retry, for example [3, 5, 7]. Pay.com also retries soon after a card is updated.

final_actionstring

What happens after the last retry fails.

One of cancel, pause or leave_unpaid.

grace_daysinteger

Days the customer keeps access while unpaid.

disputesobject

What happens to a subscription when one of its payments is disputed.

Show 1 child attributeHide child attributes
actionstring

One of cancel, pause or none.

test_modeboolean

Errors

401
The API key is missing or wrong.
403
The key's permissions don't allow this route.
Was this page helpful?