v41

latestOpenAPI 3.0.0UNLICENSEDraw.githubusercontent.com2026-07-0839165177.6 KB
Payment Gateways

Create payment gateway session

Create a payment gateway session for client-side card tokenization.

Returns short-lived credentials scoped to the authenticated developer. Use the credentials with the corresponding gateway's client-side SDK to tokenize a card. Tokens created this way are locked to the developer's container and cannot be used by other developers.

post/api/v1/payment-gateways/{gateway}/session

Path parameters

gateway'basis-theory' required

The payment gateway to create a session for

Response

Gateway-specific session credentials

containerstring required
sessionKeystring required
gateway'basis_theory' required