Crear url de Customer Portal Session
Changed onGenera una url de corta duración que deja al Customer ya autenticado en el Customer Portal.
Se usa para llevar a un Customer al portal sin pedirle un código de acceso: la url lleva un token de un solo uso que vence 5 minutos después de emitido.
Sin flow_path, la url apunta al panel principal del portal (/dashboard). flow_path permite abrir otra ruta: acepta una ruta relativa, que se resuelve sobre el portal de la organización, o una url completa, que debe pertenecer a alguno de los portales de la organización.
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/customer-portal-sessions
- AuthAPI key in header x-api-key
Headers
Llave de API de una Account, para operar sobre esa Account en lugar de la principal.
Request body
Response
Successful Response
Changes
- breaking
request body became required
- breaking
the
request property type changed fromstringtointeger - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the success response with the status
- warning
deleted the
headerrequest parameterx-api-key - info
api operation id
payment-portal-sessionremoved and replaced withcreate_session_handler - info
api tag
Customer Portaladded - info
endpoint deprecated
- info
added the new optional
headerrequest parameterx-account-key - info
the
request property default valuecus_abc123was removed - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking