Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

UpdateSubscriptionRequest

amountinteger
Required

The subscription charge amount in minor units (e.g., 1095 = 10.95 DKK). This is displayed in-app for payment methods such as Vipps MobilePay.

Range:
1 <= value
Example:
9900
typestring
Required

The type of the subscription

Possible values:
"SCHEDULED""UNSCHEDULED"
Example:
"SCHEDULED"
expiryDatestring
NullableRequired

The expiry date of the subscription. Do note that ePay does not enforce this expiration date, but it is used during processing of transactions.

Format:
date
Example:
"2035-07-23"

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.

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