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.
| Environment | Base URL |
|---|---|
| Production | |
| Sandbox / Test |
Capture Context
| Method | Path | Description | Details |
|---|---|---|---|
POST | /flex/v2/sessions | Generate 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
| Method | Path | Description | Details |
|---|---|---|---|
POST | /flex/v2/tokens | Tokenize the secured payment information and receive a transient token. | Tokenize Payment Information |
Was this page helpful?
Thanks for your feedback!
Last published: October 28, 2026