Authorizations
This API uses OAuth 2 with the implicit grant flow
Query Parameters
Response
Billing information session
Information for a billing portal session where the user can view and modify their billing information
curl --request GET \
--url https://api.diversion.dev/v0/account/billing \
--header 'Authorization: Bearer <token>'
{
"location": "https://billing.diversion.dev/sessions/1234"
}
Get billing information for the authenticated user
curl --request GET \
--url https://api.diversion.dev/v0/account/billing \
--header 'Authorization: Bearer <token>'
{
"location": "https://billing.diversion.dev/sessions/1234"
}
This API uses OAuth 2 with the implicit grant flow
Billing information session
Information for a billing portal session where the user can view and modify their billing information