Payment Gateways

Create payment gateway session

Changed on

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

Request

  • Base URL
    https://staging.api.rye.com
  • URL
    https://staging.api.rye.com/api/v1/payment-gateways/{gateway}/session
  • Auth
    API key in header Authorization

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

Changes