Skip to main content

PreviewSubscriptionUpdateRequest

Send at least one of amount, interval or intervalCount. A request that changes none of them is rejected, because there is no difference to price.

amountinteger<int32>

Amount intended to be collected by this payment. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge 1.00 USD).

Example: 110
intervalSubscription-Interval

Subscription interval. The minute and hour intervals are only available in test mode.

Enum ValueDescription
minuteMinutely
hourHourly
dayDaily
weekWeekly
monthMonthly
quarterEvery three months
yearYearly

Possible values: [minute, hour, day, week, month, quarter, year]

Example: month
intervalCountinteger<int32>

Number of intervals between subscription payments.

Example: 1
PreviewSubscriptionUpdateRequest
{
"amount": 110,
"interval": "month",
"intervalCount": 1
}