Skip to main content
Welcome to the preview portal — This is an early release of the new Doc Hub experience, with more content coming soon.

Endpoints: Flex API v2


Flex API v2 exposes these REST endpoints, grouped by the stage of the tokenization flow each one supports.

Server URLs

Use the base URL for your environment as the URL prefix.

EnvironmentBase URL
Production
Sandbox / Test

Capture Context

MethodPathDescriptionDetails
POST/flex/v2/sessionsGenerate the capture context that scopes and secures the data to capture.Generate the Capture Context
GET/flex/v2/public-keys/{keyId}Retrieve the public key used to validate a capture context's signature.Validate the Capture Context

Tokenization

MethodPathDescriptionDetails
POST/flex/v2/tokensTokenize the secured payment information and receive a transient token.Tokenize Payment Information

Last published: October 28, 2026

Not available for your audience

This page isn't available for your current audience selection.