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

UpdateSubscriptionRequest

amountinteger
Required
Range:
1 <= value
Example:
9900
typestring
Required

The type of the subscription

Possible values:
"SCHEDULED""UNSCHEDULED"
Example:
"SCHEDULED"
expiryDatestring
NullableRequired
Format:
date
Example:
"2035-07-23"
periodstring
Required
Possible values:
"DAY""WEEK""MONTH""YEAR"
Example:
"MONTH"
frequencyinteger
Required
Range:
1 <= value <= 31
Example:
1
UpdateSubscriptionRequest
{  "amount": 9900,  "type": "SCHEDULED",  "expiryDate": "2035-07-23",  "interval": {    "period": "MONTH",    "frequency": 1  }}