UpdateSubscriptionRequest
amountintegerrequired
The subscription charge amount. This is displayed in-app for payment methods such as Vipps MobilePay.
Possible values: >= 1
Example:
9900
typestringrequired
The type of the subscription
Possible values: [SCHEDULED
, UNSCHEDULED
]
Example:
SCHEDULED
expiryDatedatenullablerequired
The expiry date of the subscription. Do note that ePay does not enforce this expiration date, but it is used during processing of transactions.
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
}
}