cURL
curl --request GET \ --url https://api.devkit4ai.com/api/v1/payments/stripe/my-subscription \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_test_mode": true, "subscription_id": "<string>", "status": "<string>", "quantity": 123, "created_at": "2023-11-07T05:31:56Z", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customer_id": "<string>", "plan_name": "<string>", "current_period_start": "2023-11-07T05:31:56Z", "current_period_end": "2023-11-07T05:31:56Z", "cancel_at": "2023-11-07T05:31:56Z", "cancelled_at": "2023-11-07T05:31:56Z" }
Get the current user’s active Stripe subscription for the project.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Use test mode
Successful Response
Stripe subscription details.