# Subscription Model

This model represents subscription method type & its related data for a new transaction creation.

### Subscription Model

This model is referenced in the "subscription" field of the [Transaction Model](/sensepay/transaction-api/models/transaction-model.md) object.

{% hint style="info" %}
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).
{% endhint %}

<table><thead><tr><th width="126.2188460730749">field</th><th width="78">type</th><th width="102">required</th><th width="105">default</th><th width="230">example</th><th width="226.2">description</th></tr></thead><tbody><tr><td>interval</td><td>enum</td><td>false</td><td>"1month"</td><td>"14day", "1month", "1year"</td><td>Increment value for the due date of the  payment</td></tr><tr><td>dueDate</td><td>date</td><td>false</td><td>null</td><td>2023-01-01T12:00:00Z</td><td>Designated date for which a payment attempt be made</td></tr><tr><td>expiration</td><td>date</td><td>false</td><td>null</td><td>2024-01-01T12:00:00Z</td><td>Available on status = 2 (done)</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sensepass.com/sensepay/transaction-api/models/subscription-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
