Search
K

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.
post
https://api.sensepass.com/api/transaction
/init
Create a Subscription
Parameters
Body
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.dueDate
string
2023-01-01T12:00:00Z
subscription.expiration
string
2024-01-01T12:00:00Z
Responses
200: OK
Refer to the Subscritption entity at Subscription Model for additional information.