POST
/
subscriptions
/
{id}
/
portal
Generate customer portal access link
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"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

The subscription ID

Response

200
application/json

Portal link generated successfully

The response is of type object.