cURL
curl --request GET \ --url https://api.truust.io/2.0/subscriptions/{id} \ --header 'Authorization: Bearer <token>'
{ "id": 123, "self": "<string>", "reference_id": "<string>", "name": "<string>", "amount": 123, "currency": "EUR", "type": "<string>", "status": "CREATED", "metadata": {}, "published_at": "2023-11-07T05:31:56Z", "cancelled_at": "2023-11-07T05:31:56Z", "connections": {} }
Use your account's Secret Key as the Bearer token.
Subscription details
"EUR"
Payment method type for this subscription.
CREATED
ACTIVE
CANCELLED
EXPIRED
Hypermedia links to related resources.
Show child attributes