cURL
curl --request GET \ --url https://api.salesbricks.com/api/v2/subscriptions/{subscription_id}/billing-portal \ --header 'X-SALESBRICKS-KEY: <api-key>'
{ "url": "<string>", "url_expires_at": "2023-11-07T05:31:56Z" }
Retrieves a URL for managing a subscription’s billing portal.
API key for authentication
^([a-zA-Z\d\-]+)$
Successfully retrieved management URL
URL for managing the subscription
Expiration timestamp of the management URL