Skip to main content

UpdateSubscriptionRequest

amountintegerrequired

Possible values: >= 1

Example: 9900
typestringrequired

Possible values: [SCHEDULED, UNSCHEDULED]

Example: SCHEDULED
expiryDatedatenullablerequired
Example: 2035-07-23
interval objectnullable

An optional subscription schedule for SCHEDULED type subscriptions. Must be omitted for UNSCHEDULED type subscriptions. Is required by some payment methods such as Vipps-Mobilepay.

periodstringrequired

Possible values: [DAY, WEEK, MONTH, YEAR]

Example: MONTH
frequencyintegerrequired

Possible values: >= 1 and <= 31

Example: 1
UpdateSubscriptionRequest
{
"amount": 9900,
"type": "SCHEDULED",
"expiryDate": "2035-07-23",
"interval": {
"period": "MONTH",
"frequency": 1
}
}