Portal
Open a customer portal session
Needs the portal:write scope, or a full-access key. About scopes
POST
/
api/v1/portal-sessionsAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalcustomer_idstring
Format:
"uuid"customer_external_idstring
Minimum length:
1Maximum length: 200return_urlRequiredstring
Where the portal’s back link sends the payer. https (http for localhost only).
Maximum length:
2048The session; send the payer to url (valid one hour).