Subscriptions
Create subscription
Changed onCreates a recurring payment subscription. The first order is created immediately; subsequent orders are triggered on the defined schedule.
post/subscriptions
Request
- Base URLhttps://your-subdomain.truust.io/2.0
- URLhttps://your-subdomain.truust.io/2.0/subscriptions
- AuthHTTP bearer
Request body
Example request
{
"buyer_id": 7485,
"seller_id": 7485,
"name": "Subscription Test",
"value": 10,
"type": "ADDON"
}Response
Subscription created
Example response
{
"currency": "EUR"
}Changes
- breaking
the request property
became required - info
added the new optional request property
- breaking