---
title: "Payment Portal Session"
method: POST
path: "/customer-portal-sessions"
---

# Payment Portal Session

`POST /customer-portal-sessions`

Crea una url de corta duración con una sesión asociada a un customer y autenticada en el portal de pagos. La url expira luego de 5 minutos.

## Headers

- `x-api-key` string

## Request body

- object
  - `customer` string, required — Customer ID
  - `flow_path` string — Path que se le agrega a la url del portal de pagos en caso de querer ir a una url custom.

## Response `200`

200

- object
  - `ustomer` string
  - `url` string
  - `exipres_at` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/trytoku/apis/toku-api.md) · [All operations](https://skmtc.net/trytoku/apis/toku-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trytoku/toku-api/versions/30699b13e0d0/schema)
