GetSubscriptions

GET /api/organization/{organizationId}/payment/subscription/

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

Responses

GET /api/organization/{organizationId}/payment/subscription/
curl \
 -X GET http://localhost:8080/api/organization/{organizationId}/payment/subscription/
Response examples (200)
[{"active"=>true, "aggregate_usage"=>"string", "amount"=>42, "created"=>"2024-05-04T09:42:00+00:00", "currency"=>"string", "current_period_end"=>"2024-05-04T09:42:00+00:00", "current_period_start"=>"2024-05-04T09:42:00+00:00", "days_until_due"=>42, "id"=>"string", "price_id"=>"string", "status"=>"string", "tiers_mode"=>"string", "trial_end"=>"2024-05-04T09:42:00+00:00", "trial_period_days"=>42, "trial_start"=>"2024-05-04T09:42:00+00:00"}]