Subscription
Subscription is the process of recurring payments by a interval.
Subscription is useful for charging consumers a fixed sum of money, e.g. $10.99 per month, or any kind of future payments with a chosen sum.
Create a Subscription
POST
https://api.sensepass.com/api/transactions/init
Request Body
Name | Type | Description |
---|---|---|
timeOut | number | 600 |
amount | number | 1000 |
deviceId* | string | 2ooeww5ufzg3nkuf8a10g15i5epu8o58jv1rznif3o1tr6xsb1rm |
methodType* | string | subscription |
callbackURL | string | https://your-domain.com/some-post-method-callback-endpoint |
subscription.interval | string | Examples: 1day, 14day, 1month, 3month, 1year. Default value: 1month |
subscription.expiration | string | 2024-01-01T12:00:00Z |
subscription.dueDate | string | 2023-01-01T12:00:00Z |
Refer to the Subscritption entity at Subscription Model for additional information.
Last updated