Subscription
The ID of the subscription
01929a94-5fce-7ccc-a7e4-7e9249133b39
The ID of the associated payment method
01924756-d1f6-738d-8040-90d76cedf01f
The currency of the original transaction which created the subscription. This is used as the default currency for new MIT transactions, if no currency is given.
DKK
The id of the merchant customer
User159
The ID of the associated point of sale used during the creation of the subscription
0192473a-e381-705c-b61c-fc2ac9624afc
The merchant reference for the subscription.
reference-1
The current state of the subscription.
Possible values: [PENDING
, ACTIVE
, INVALID
, DISABLED
]
ACTIVE
The type of subscription. SCHEDULED
is used for fixed interval charges such as a monthly subscription fee. UNSCHEDULED
is used for varying transaction intervals such as pay-as-you-go solutions such as parking or bike renting.
Possible values: [SCHEDULED
, UNSCHEDULED
]
SCHEDULED
The expiration date of the subscription. ePay does not enforce this expiration, but uses it in the processing of transactions which may improve approval rates.
2050-01-01
interval object
Interval configuration. Is can only be present when type equal SCHEDULED
. A frequency=2
and period=WEEK
means one charge for every two weeks.
The time unit of the frequency field
MONTH
The number of period
's between each charge.
1
The time of creation
{
"id": "01929a94-5fce-7ccc-a7e4-7e9249133b39",
"paymentMethodId": "01924756-d1f6-738d-8040-90d76cedf01f",
"currency": "DKK",
"customerId": "User159",
"pointOfSaleId": "0192473a-e381-705c-b61c-fc2ac9624afc",
"reference": "reference-1",
"state": "ACTIVE",
"type": "SCHEDULED",
"expiryDate": "2050-01-01",
"interval": {
"period": "MONTH",
"frequency": 1
},
"createdAt": "2024-07-29T15:51:28.071Z"
}