View a markdown version of this page

PaymentFailurePolicy - AWS App Monetization

PaymentFailurePolicy

How a plan reacts to a failed recurring payment. Each member falls back to the service-wide default when absent.

Contents

downgradeToPlanId

Plan to move the subscriber to once the attempts are exhausted.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-z0-9-]+

Required: No

retryAttempts

The total number of payment attempts for a failed recurring payment, including the first attempt, before the failure is final. For example, 3 means the first attempt and up to 2 retries.

Type: Integer

Valid Range: Minimum value of 1.

Required: No

retryWindowDays

The number of days over which to retry a failed recurring payment.

Type: Integer

Valid Range: Minimum value of 0.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: