Skip to login Skip to content
Developer Cybersource Logo

Getting started

Find tailored resources to kickstart your integration

API Reference

Use our live console to test and start building with our APIs

 

Accept payments

Online or In-person payment acceptance made easy

Technology partners

Register to get onboard our sandbox environment as a Tech partner or explore our pre-built integrations

Resources

Create seamless scalable payment experiences with interactive tools and detailed documentation

Documentation hub

Explore developer guides and best practices for integration with our platform

SDKs

Get pre-built samples to build or customize your integrations to fit your business needs

Demo hub

Access to variety of our product demos 

Testing

Signup for sandbox and use testing resources before going live

Sandbox signup

Create a sandbox to test our APIs

 

Testing guide

Guide with sandbox testing instructions and processor specific testing trigger data

Response codes

Understand all different error codes that REST API responds with

Support

Find resources and guidance to build, test, and deploy on our platform

Frequently asked questions

Find answers to commonly-asked questions about our APIs and platform

Contact us

Connect with our team of experts to troubleshoot or go-live to Production

Developer community

Connect and share with community of developers 

 

AI Assistant

Menu
  • Recent Revisions to This Document
  • About This Guide
  • VISA Platform Connect: Specifications and Conditions for Resellers/Partners
  • Flex API
    • Establish a Payment Session with a Capture Context
    • Validate the JSON Web Token
    • Populate the JSON Web Token with Customer Information
  • Microform Integration v2
    • Getting Started
    • Styling
    • Events
    • Security Recommendations
    • PCI DSS Guidance
    • API Reference
    • Using Microform with the Checkout API
  • Microform Integration 0.11
    • Getting Started
    • Styling
    • Events
    • Security Recommendations
    • PCI DSS Guidance
    • API Reference
    • Using Microform with the Checkout API
  • Unified Checkout
    • Unified Checkout Flow
    • Transient Tokens
    • Payment Authorizations with Tokens
    • Transient Token Payment Details
    • Data Validations
    • Supported Countries
    • Supported Languages
  • Processing Authorizations with a Transient Token
    • Authorization with a Transient Token
    • Authorization and Creating TMS Tokens with a Transient Token
REST API

REST Interactive Example: Authorization and Creating TMS Tokens with a Transient Token

  • Recent Revisions to This Document
  • About This Guide
  • VISA Platform Connect: Specifications and Conditions for Resellers/Partners
  • Flex API
    • Establish a Payment Session with a Capture Context
      • REST Example: Establishing a Payment Session with a Capture Context
    • Validate the JSON Web Token
      • Retrieve the Public Key ID
      • Retrieve the Public Key
      • JAVA Example: Validating the Transient Token
    • Populate the JSON Web Token with Customer Information
      • Constructing the JSON Payload
      • Generate a JWE (JSON Web Encryption) Data Object
      • Populate the Token Request
  • Microform Integration v2
    • Getting Started
      • Creating the Server-Side Context
      • Validating the Capture Context
      • Setting Up the Client Side
        • Transient Token Time Limit
        • Transient Token Response Format
        • Validating the Transient Token
        • Using the Transient Token
      • Getting Started Examples
    • Styling
    • Events
    • Security Recommendations
    • PCI DSS Guidance
    • API Reference
      • Class: Field
      • Module: FLEX
      • Class: Microform
      • Class: MicroformError
      • Events
      • Global
    • Using Microform with the Checkout API
      • Requesting a Capture Context
      • Invoking the Checkout API
      • FAQ
  • Microform Integration 0.11
    • Getting Started
      • Creating the Server-Side Context
      • Validating the Capture Context
      • Setting Up the Client Side
        • Transient Token Time Limit
        • Transient Token Response Format
        • Validating the Transient Token
        • Using the Transient Token
      • Getting Started Examples
    • Styling
    • Events
    • Security Recommendations
    • PCI DSS Guidance
    • API Reference
      • Class: Field
      • Module: FLEX
      • Class: Microform
      • Class: MicroformError
      • Events
      • Global
    • Using Microform with the Checkout API
      • Requesting a Capture Context
      • Invoking the Checkout API
      • FAQ
  • Unified Checkout
    • Unified Checkout Flow
      • Server-Side Setup
      • Capture Context
        • Required Fields
        • Requesting the Capture Context
        • Example: Capture Context Request
      • Client-Side Setup
        • Setting Up the Client
          • Loading the Javascript Library and Invoking the Accept Function
            • Example: Request to Initialize the SDK
          • Add the Button Widget and Payment Acceptance
            • Example: Basic Setup with Full Sidebar
            • Example: Basic Setup Using the Embedded Widget
    • Transient Tokens
      • Transient Token Format
      • Token Verification
    • Payment Authorizations with Tokens
      • Example: Authorization Request with a Transient Token
    • Transient Token Payment Details
      • Retrieving Transient Token Payment Details Using the REST API
      • Example: Retrieving Transient Token Payment Details Response
    • Data Validations
    • Supported Countries
    • Supported Languages
  • Processing Authorizations with a Transient Token
    • Authorization with a Transient Token
      • Required Fields for an Authorization with a Transient Token
      • REST Interactive Example: Authorization with a Transient Token
      • REST Example: Authorization with a Transient Token
    • Authorization and Creating TMS Tokens with a Transient Token
      • Required Fields for an Authorization and Creating TMS Tokens with a Transient Token
      • REST Interactive Example: Authorization and Creating TMS Tokens with a Transient Token
      • REST Example: Authorization and Creating TMS Tokens with a Transient Token
On This Page
Live Console URL: index.html#payments_payments_process-a-payment_samplerequests-dropdown_payment-with-flex-token-create-permanent-tms-token_liveconsole-tab-request-body
 
Back to top

Visa

Cybersource.com

Terms + conditions

Cookie policy

Privacy notice

Your privacy rights

© 2024 Cybersource. All rights reserved. All brand names and logos are the property of their respective owners, are used for identification purposes only, and do not imply product endorsement or affiliation with Cybersource.