curl --request POST \
--url https://api.example.com/api/v1/customers/{id_or_alias}/portal-token \
--header 'Authorization: Bearer <token>'{
"portal_url": "<string>",
"token": "<string>"
}Generates a JWT token that grants access to the customer portal. The token can be used to access invoices, payment methods, and other portal features.
curl --request POST \
--url https://api.example.com/api/v1/customers/{id_or_alias}/portal-token \
--header 'Authorization: Bearer <token>'{
"portal_url": "<string>",
"token": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
customer ID or alias