This model represents subscription method type & its related data for a new transaction creation.
This model is referenced in the "subscription" field of the Transaction Model object.
Note: Subscription will create recurring payments for the transaction sum accornding to its set interval, due date (which increments with each interval) and expiration date (which stops the subscription).
field | type | required | default | example | description |
---|---|---|---|---|---|
interval
enum
false
"1month"
"14day", "1month", "1year"
Increment value for the due date of the payment
dueDate
date
false
null
2023-01-01T12:00:00Z
Designated date for which a payment attempt be made
expiration
date
false
null
2024-01-01T12:00:00Z
Available on status = 2 (done)