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
The response is of type object.
object