cURL
curl --request POST \ --url https://api.paygentic.io/v0/subscriptions/{id}/portal \ --header 'Authorization: Bearer <token>'
{ "object": "subscriptionPortal", "url": "<string>", "expiresAt": "2023-11-07T05:31:56Z" }
Generates a secure, time-limited URL that allows customers to access their subscription data without authentication.
API key authentication
The subscription ID
Portal link generated successfully
subscriptionPortal
The secure portal access URL
When the portal link expires