CyberSource Network Tokens API

A Network Token represents a tokenized version of a card number (PAN) that can be used for payment transactions and, it's represented by a Tokenized Card in TMS.

Operations 7

POST /tms/v2/tokenized-cards Create a Tokenized Card #
GET /tms/v2/tokenized-cards/{tokenizedCardId} Retrieve a Tokenized Card #
POST /tms/v2/tokenized-cards/{tokenizedCardId}/delete Delete a Tokenized Card #
POST /tms/v3/tokens/{tokenId}/payment-credentials Generate Payment Credentials Latest Version v3 #
POST /tms/v2/tokens/{tokenId}/payment-credentials Generate Payment Credentials v2 #
GET /tms/v2/tokens/{instrumentIdentifierId}/{tokenProvider}/assets/{assetType} Retrieve Card Art #
POST /tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations Simulate Issuer Life Cycle Management Events #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cybersource-network-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cybersource-network-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
  version: 0.0.1
  title: CyberSource Merged Spec bankAccountValidation Network Tokens API
servers:
- url: https://apitest.cybersource.com/
tags:
- name: Network Tokens
  description: 'A Network Token represents a tokenized version of a card number (PAN) that can be used for payment transactions and, it''s represented by a Tokenized Card in TMS.

    '
paths:
  /tms/v2/tokenized-cards:
    post:
      summary: Create a Tokenized Card
      description: '**Tokenized cards**<br>A Tokenized card represents a network token.

        Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.

        This API submits a request to the card association to create a network token. If successful, a tokenized card will be created in TMS to represent the network token.

        '
      parameters:
      - name: profile-id
        in: header
        description: The Id of a profile containing user specific TMS configuration.
        required: false
        x-hide-field: true
        schema:
          type: string
          maxLength: 36
          minLength: 36
      tags:
      - Network Tokens
      operationId: postTokenizedCard
      x-devcenter-metaData:
        categoryTag: Token_Management
        developerGuides: https://developer.cybersource.com/docs/cybs/en-us/tms/developer/all/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-create-cof-intro.html
        mleForRequest: optional
      responses:
        '200':
          description: Returns an existing tokenized card associated with the supplied Id.
          headers:
            v-c-correlation-id:
              description: The mandatory correlation Id passed by upstream (calling) system.
              schema:
                type: string
            uniqueTransactionID:
              description: A globally-unique Id associated with your request.
              schema:
                type: string
          content:
            application/json;charset=utf-8:
              schema:
                type: object
                readOnly: true
                properties:
                  _links:
                    type: object
                    readOnly: true
                    properties:
                      self:
                        type: object
                        properties:
                          href:
                            type: string
                  tokenizedCard:
                    type: object
                    properties:
                      id:
                        type: string
                        readOnly: true
                        description: 'The Id of the Tokenized Card.

                          '
                      object:
                        type: string
                        readOnly: true
                        example: tokenizedCard
                        description: 'The type.

                          Possible Values:

                          - tokenizedCard

                          '
                      source:
                        type: string
                        description: 'Source of the card details.

                          Possible Values:

                          - ONFILE

                          - TOKEN

                          - ISSUER

                          '
                      state:
                        type: string
                        readOnly: true
                        example: ACTIVE
                        description: "State of the network token or network token provision.\nPossible Values:\n  - ACTIVE : Network token is active.\n  - SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n  - DELETED : This is a final state for a network token instance.\n  - UNPROVISIONED : A previous network token.\n"
                      enrollmentId:
                        type: string
                        readOnly: true
                        description: 'Unique id to identify this PAN/ enrollment.

                          '
                      tokenReferenceId:
                        type: string
                        readOnly: true
                        description: 'Unique ID for netwrok token.

                          '
                      number:
                        type: string
                        readOnly: true
                        description: 'The token requestor''s network token for the provided PAN and consumer Id, if available.

                          '
                      expirationMonth:
                        type: string
                        readOnly: true
                        description: 'Two-digit month in which the network token expires.

                          Format: `MM`.

                          Possible Values: `01` through `12`.

                          '
                      expirationYear:
                        type: string
                        readOnly: true
                        description: 'Four-digit year in which the network token expires.

                          Format: `YYYY`.

                          '
                      type:
                        type: string
                        description: 'The type of card (Card Network).

                          Possible Values:

                          - visa

                          - mastercard

                          - americanexpress

                          '
                      reason:
                        type: string
                        readOnly: true
                        example: ACTIVE
                        description: 'Indicates the reason why the network token provision request failed.

                          Possible Values:

                          - INVALID_REQUEST : The network token provision request contained invalid data.

                          - CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.

                          - CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.

                          - CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.

                          - DECLINED : Card can currently not be used with issuer for tokenization.

                          - SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.

                          - SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.

                          '
                      cryptogram:
                        type: string
                        readOnly: true
                        description: 'Value generated by the card association to be used alongside the network token for processing a payment.

                          This field is returned by default for Visa and Mastercard network tokens.

                          It can also be explicitly requested using paymentCredentialType: CRYPTOGRAM.

                          '
                        example: CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=
                      securityCode:
                        type: string
                        readOnly: true
                        description: 'Dynamic number generated by the card association to be used alongside the network token for processing a payment.

                          - For American Express: Dynamic Card Secure Code (DCSC) returned by default.

                          - For Visa: DTVV cryptogram when explicitly requested using paymentCredentialType: SECURITY_CODE.

                          It can also be explicitly requested using paymentCredentialType: SECURITY_CODE.

                          '
                        example: '4523'
                      eci:
                        type: string
                        readOnly: true
                        description: 'Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.

                          '
                      requestorId:
                        type: string
                        readOnly: true
                        maxLength: 11
                        description: '11-digit identifier that uniquely identifies the Token Requestor.

                          '
                      paymentAccountReference:
                        type: string
                        readOnly: true
                        description: 'Payment account reference.

                          '
                      applicationTransactionCounter:
                        type: string
                        readOnly: true
                        description: 'A sequence counter used as part of the input to the TAVV cryptogram and it is incremented for each cryptogram generation.

                          This field is only returned for Visa network tokens.

                          '
                      card:
                        type: object
                        properties:
                          number:
                            type: string
                            minLength: 12
                            maxLength: 19
                            description: 'The latest customer''s payment card number associated to the network token.

                              '
                          expirationMonth:
                            type: string
                            maxLength: 2
                            description: 'Two-digit month in which the payment card expires.


                              Format: `MM`.


                              Possible Values: `01` through `12`.

                              '
                          expirationYear:
                            type: string
                            maxLength: 4
                            description: 'Four-digit year in which the credit card expires.


                              Format: `YYYY`.

                              '
                          type:
                            type: string
                            description: 'The type of card (Card Network).

                              Possible Values:

                              - 001: visa

                              - 002: mastercard

                              - 003: american express

                              - 007: jcb

                              '
                          suffix:
                            type: string
                            readOnly: true
                            description: 'The customer''s latest payment card number suffix.

                              '
                          issueDate:
                            type: string
                            readOnly: true
                            format: date
                            description: 'Card issuance date. XML date format: YYYY-MM-DD.'
                            example: '2030-12-15'
                          activationDate:
                            type: string
                            readOnly: true
                            format: date
                            description: 'Card activation date. XML date format: YYYY-MM-DD'
                            example: '2030-12-20'
                          expirationPrinted:
                            type: boolean
                            readOnly: true
                            description: Indicates if the expiration date is printed on the card.
                            example: true
                          securityCodePrinted:
                            type: boolean
                            readOnly: true
                            description: Indicates if the Card Verification Number is printed on the card.
                            example: true
                          termsAndConditions:
                            type: object
                            readOnly: true
                            properties:
                              url:
                                type: string
                                readOnly: true
                                description: Issuer Card Terms and Conditions url.
                      verificationResults:
                        type: object
                        description: 'Verification results returned by the issuer during the provisioning when Security Code or Billing Address data is provided on the request.

                          Supported only for VTS tokens.

                          '
                        readOnly: true
                        properties:
                          securityCode:
                            type: string
                            readOnly: true
                            description: 'Indicates whether the security code (CVV/CVC) was verified by the issuer during the provisioning request.

                              Supported only for VTS tokens.


                              Possible Values:

                              - MATCH: Verified, CVV2 data matched.

                              - NO_MATCH: Verified, CVV2 data did not match.

                              - NOT_SUPPORTED: Verification not supported by card issuer.

                              - SKIPPED: Verification was not performed.

                              '
                          address:
                            type: string
                            readOnly: true
                            description: 'Indicates whether the billing address was verified by the issuer during the provisioning request.

                              Supported only for VTS tokens.


                              Possible Values:

                              - MATCH: Verified, address and postal code data matched.

                              - PARTIAL_MATCH: Verified, either address data matched or postal code data matched.

                              - PARTIAL_MATCH_FORMAT_UNSUPPORTED: Verified, either address data matched or postal code data matched, but the other could not be verified due to format issues.

                              - NO_MATCH: Verified, address and postal code data did not match.

                              - NOT_SUPPORTED: Verification not supported by card issuer.

                              - SKIPPED: Verification was not performed.

                              '
                      metadata:
                        type: object
                        properties:
                          cardArt:
                            title: TmsCardArt
                            description: 'Card art associated with the tokenized card.

                              '
                            type: object
                            readOnly: true
                            properties:
                              foregroundColor:
                                description: 'Card foreground color.

                                  '
                                type: string
                                readOnly: true
                              backgroundColor:
                                description: 'Card background color.

                                  '
                                type: string
                                readOnly: true
                              labelColor:
                                description: 'Card label color.

                                  '
                                type: string
                                readOnly: true
                              combinedAsset:
                                description: 'Combined card art asset associated with the tokenized card.

                                  '
                                type: object
                                readOnly: true
                                properties:
                                  id:
                                    type: string
                                    description: 'Unique identifier for the asset

                                      '
                                  _links:
                                    type: object
                                    readOnly: true
                                    properties:
                                      self:
                                        type: object
                                        readOnly: true
                                        properties:
                                          href:
                                            type: string
                                            readOnly: true
                                            description: 'Link to the card art asset.

                                              example: ''tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined''

                                              '
                              brandLogoAsset:
                                description: 'Brand logo card art asset associated with the tokenized card.

                                  '
                                type: object
                                readOnly: true
                                properties:
                                  id:
                                    type: string
                                    description: 'Unique identifier for the asset

                                      '
                                  _links:
                                    type: object
                                    readOnly: true
                                    properties:
                                      self:
                                        type: object
                                        readOnly: true
                                        properties:
                                          href:
                                            type: string
                                            readOnly: true
                                            description: 'Link to the card art asset.

                                              example: ''tms/v2/tokens/7020000000010603216/visa/assets/brand-logo''

                                              '
                              issuerLogoAsset:
                                description: 'Issuer logo card art asset associated with the tokenized card.

                                  '
                                type: object
                                readOnly: true
                                properties:
                                  id:
                                    type: string
                                    description: 'Unique identifier for the asset

                                      '
                                  _links:
                                    type: object
                                    readOnly: true
                                    properties:
                                      self:
                                        type: object
                                        readOnly: true
                                        properties:
                                          href:
                                            type: string
                                            readOnly: true
                                            description: 'Link to the card art asset.

                                              example: ''tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo''

                                              '
                              iconAsset:
                                description: 'Icon card art asset associated with the tokenized card.

                                  '
                                type: object
                                readOnly: true
                                properties:
                                  id:
                                    type: string
                                    description: 'Unique identifier for the asset

                                      '
                                  _links:
                                    type: object
                                    readOnly: true
                                    properties:
                                      self:
                                        type: object
                                        readOnly: true
                                        properties:
                                          href:
                                            type: string
                                            readOnly: true
                                            description: 'Link to the card art asset.

                                              example: ''tms/v2/tokens/7020000000010603216/visa/assets/icon''

                                              '
                          issuer:
                            description: 'Issuer associated with the tokenized card.

                              '
                            type: object
                            readOnly: true
                            properties:
                              name:
                                description: 'Issuer name.

                                  '
                                type: string
                                readOnly: true
                              shortDescription:
                                description: 'Short description of the card.

                                  '
                                type: string
                                readOnly: true
                              longDescription:
                                description: 'Long description of the card.

                                  '
                                type: string
                                readOnly: true
                              email:
                                type: string
                                readOnly: true
                                description: 'Issuer customer service email address.

                                  '
                              phoneNumber:
                                type: string
                                readOnly: true
                                description: 'Issuer customer service phone number.

                                  '
                              url:
                                type: string
                                readOnly: true
                                description: 'Issuer customer service url.

                                  '
                              privacyPolicyUrl:
                                type: string
                                readOnly: true
                                description: 'Issuer privacy policy url.

                                  '
                              capabilities:
                                type: object
                                readOnly: true
                                description: 'Flags indicating what authentication, binding, and trusted-beneficiary enrollment capabilities the issuer supports.

                                  Supported only for VTS Tokens.

                                  '
                                properties:
                                  deviceBindingSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer supports device binding.

                                      '
                                  cardholderVerificationSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer participates in step-up authentication that requires cardholder verification.

                                      '
                                  trustedBeneficiaryEnrollmentSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer supports trusted beneficiary enrollment.

                                      e.g allowing cardholders to designate trusted merchants or payment recipients that can be exempt from step-up authentication.

                                      '
                                  delegatedAuthenticationSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer supports delegated authentication.

                                      e.g allowing approved thrird parties to perform authentication on behalf of the issuer.

                                      '
                                  oboDeviceBindingSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer supports on-behalf-of device binding.

                                      e.g allowing approved third parties to perform device binding on behalf of the issuer.

                                      '
                                  tokenLcmNotificationsSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer supports receiving token lifecycle management notifications.

                                      e.g receiving updates on changes to the token''s status or attributes.

                                      '
                                  fpanLcmNotificationsSupported:
                                    type: boolean
                                    readOnly: true
                                    description: 'Indicates if the issuer supports receiving PAN lifecycle management notifications.

                                      e.g receiving updates on changes to the underlying card''s status or attributes.

                                      '
                              bankApplications:
                                type: array
                                readOnly: true
                                items:
                                  type: object
                                  readOnly: true
                                  properties:
                                    name:
                                      type: string
                                      readOnly: true
                                      description: 'Bank application name.

                                        '
                                    address:
                                      type: string
                                      readOnly: true
                                      description: 'Bank application address. (e.g. com.mybank.app)

                                        '
                          creator:
                            type: string
                            readOnly: true
                            description: The creator of the Tokenized Card.
        '201':
          description: A new tokenized card has been created.
          headers:
            Location:
              description: Location of the Tokenized Card.
              schema:
                type: string
            v-c-correlation-id:
              description: The mandatory correlation Id passed by upstream (calling) system.
              schema:
                type: string
            uniqueTransactionID:
              description: A globally-unique Id associated with your request.
              schema:
                type: string
          content:
            application/json;charset=utf-8:
              schema:
                type: object
                readOnly: true
                properties:
                  _links:
                    type: object
                    readOnly: true
                    properties:
                      self:
                        type: object
                        properties:
                          href:
                            type: string
                  tokenizedCard:
                    type: object
                    properties:
                      id:
                        type: string
                        readOnly: true
                        description: 'The Id of the Tokenized Card.

                          '
                      object:
                        type: string
                        readOnly: true
                        example: tokenizedCard
                        description: 'The type.

                          Possible Values:

                          - tokenizedCard

                          '
                      source:
                        type: string
                        description: 'Source of the card details.

                          Possible Values:

                          - ONFILE

                          - TOKEN

                          - ISSUER

                          '
                      state:
                        type: string
                        readOnly: true
                        example: ACTIVE
                        description: "State of the network token or network token provision.\nPossible Values:\n  - ACTIVE : Network token is active.\n  - SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n  - DELETED : This is a final state for a network token instance.\n  - UNPROVISIONED : A previous network token.\n"
                      enrollmentId:
                        type: string
                        readOnly: true
                        description: 'Unique id to identify this PAN/ enrollment.

                          '
                      tokenReferenceId:
                        type: string
                        readOnly: true
                        description: 'Unique ID for netwrok token.

                          '
                      number:
                        type: string
                        readOnly: true
                        description: 'The token requestor''s network token for the provided PAN and consumer Id, if available.

                          '
                      expirationMonth:
                        type: string
                        readOnly: true
                        description: 'Two-digit month in which the network token expires.

                          Format: `MM`.

                          Possible Values: `01` through `12`.

                          '
                      expirationYear:
                        type: string
                        readOnly: true
                        description: 'Four-digit year in which the network token expires.

                          Format: `YYYY`.

                          '
                      type:
                        type: string
                        description: 'The type of card (Card Network).

                          Possible Values:

                          - visa

                          - mastercard

                          - americanexpress

                          '
                      reason:
                        type: string
                        readOnly: true
                        example: ACTIVE
                        description: 'Indicates the reason why the network token provision request failed.

                          Possible Values:

                          - INVALID_REQUEST : The network token provision request contained invalid data.

                          - CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.

                          - CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.

                          - CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.

                          - DECLINED : Card can currently not be used with issuer for tokenization.

                          - SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.

 

# --- truncated at 32 KB (215 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cybersource/refs/heads/main/openapi/cybersource-network-tokens-api-openapi.yml