cURL
curl --request GET \ --url https://ctechnology.io/api/v2.2/payment/subscription \ --header 'Authorization: <api-key>'
{ "header": { "api_version": "<string>", "permission_via": [ { "permission": "<string>", "via": "me", "organization_id": "<string>" } ], "status": "<string>", "num_results": 123, "message": "<string>", "offset": 123, "limit": 123 }, "data": [ { "id": "<string>", "timestamp_start": "2023-11-07T05:31:56Z", "timestamp_end": "2023-11-07T05:31:56Z", "service_type": "BASE", "origin_type": "SUBSCR_STRIPE", "user_id": "<string>", "vehicle_id": "<string>", "stripe_subscription": "<string>", "voucher_id": "<string>" } ] }
[DEPRECATED] Use /payment/service-subscriptions/ instead.
Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.
Token 123
123
OK
Show child attributes