Create a portal url
Requires the PORTAL_URL.CREATE permission.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Request
The status of the link. PUBLISHED: the link can be used until expires_at. REVOKED: the platform revoked the link. EXPIRED: expires_at passed while the link was PUBLISHED. CLOSED: the checkout session of the link is done (COMPLETED or FAILED); the link accepts no more changes and does not expire.
How long the link stays valid after it is created; sets expires_at. For type CHECKOUT_SESSION at least 30 MINUTE and at most 1 HOUR, 1 HOUR when omitted, and it can not be changed afterwards.
The checkout session. Required for type CHECKOUT_SESSION.
Response
The status of the link. PUBLISHED: the link can be used until expires_at. REVOKED: the platform revoked the link. EXPIRED: expires_at passed while the link was PUBLISHED. CLOSED: the checkout session of the link is done (COMPLETED or FAILED); the link accepts no more changes and does not expire.
How the link authenticates the customer, derived from the type. A SIGNED_TOKEN link returns its token and url only when it is created.
How long the link stays valid after it is created; sets expires_at. For type CHECKOUT_SESSION at least 30 MINUTE and at most 1 HOUR, 1 HOUR when omitted, and it can not be changed afterwards.
The checkout session. Required for type CHECKOUT_SESSION.