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

BillingPlan

idstring
Required

Unique identifier for the billing plan.

Format:
uuid
instantCapturestring
Possible values:
"OFF""VOID""NO_VOID"
namestring
Required

Human-readable name of the billing plan.

colorstring
Nullable
emojistring
Nullable
amountinteger
Required
currencystring
Required

ISO 4217 three-letter currency code (e.g., USD, EUR).

Match:
^[A-Z]{3}$
Length:
3 <= length <= 3
maxAttemptsinteger
Required

Maximum number of billing attempts allowed per billing period.

Defines the recurring billing interval.

periodstring
Required

The time unit of the frequency field

Possible values:
"DAY""WEEK""MONTH""YEAR"
Example:
"MONTH"
frequencyinteger
Required

The number of period's between each charge.

Range:
1 <= value <= 31
Example:
1
createdAtstring
Required

Timestamp when the billing plan was created.

Format:
date-time
BillingPlan
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "instantCapture": "OFF",  "name": "string",  "color": "string",  "emoji": "string",  "amount": 0,  "currency": "str",  "maxAttempts": 0,  "interval": {    "period": "MONTH",    "frequency": 1  },  "createdAt": "2019-08-24T14:15:22Z"}