National Australia Bank Payment Tokens API

A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.

Operations 1

POST /pts/v2/payment-tokens Retrieve or Delete Payment Token #

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/national-australia-bank:national-australia-bank-payment-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

national-australia-bank-payment-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 Payment Tokens API
servers:
- url: https://apitest.cybersource.com/
tags:
- name: Payment Tokens
  description: A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.
paths:
  /pts/v2/payment-tokens:
    post:
      summary: Retrieve or Delete Payment Token
      description: This API can be used in two flavours - for retrieval or deletion of vault id.
      tags:
      - Payment Tokens
      operationId: retrieveOrDeletePaymentToken
      responses:
        '201':
          description: Successful response.
          content:
            application/hal+json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    maxLength: 26
                    description: 'An unique identification number generated by Cybersource to identify the submitted request. Returned by all services.

                      It is also appended to the endpoint of the resource.

                      On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.

                      '
                  status:
                    type: string
                    description: "The status of the request.\n\nPossible values:\n - COMPLETED\n"
                  paymentInformation:
                    type: object
                    properties:
                      tokenizedPaymentMethod:
                        type: object
                        properties:
                          id:
                            type: string
                            maxLength: 255
                            description: 'The PayPal-generated ID for the token.

                              '
                          usageType:
                            type: string
                            maxLength: 255
                            description: 'Indicates the type of vaulting relationship. Valid values:

                              - “MERCHANT”: Single merchant relationship.

                              - “PLATFORM”: Platform hosting multiple merchants.

                              '
                      eWallet:
                        type: object
                        properties:
                          accountId:
                            type: string
                            maxLength: 26
                            description: The unique ID for a customer generated by PayPal.
                  orderInformation:
                    type: object
                    properties:
                      shipTo:
                        type: object
                        properties:
                          firstName:
                            type: string
                            maxLength: 60
                            description: 'First name of the recipient.


                              #### Litle

                              Maximum length: 25


                              #### All other processors

                              Maximum length: 60


                              Optional field.

                              '
                          lastName:
                            type: string
                            maxLength: 60
                            description: 'Last name of the recipient.


                              #### Litle

                              Maximum length: 25


                              #### All other processors

                              Maximum length: 60


                              Optional field.

                              '
                          address1:
                            type: string
                            maxLength: 60
                            description: 'First line of the shipping address.


                              Required field for authorization if any shipping address information is included in the request; otherwise, optional.


                              #### Tax Calculation

                              Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.

                              Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.

                              '
                          address2:
                            type: string
                            maxLength: 60
                            description: 'Second line of the shipping address.


                              Optional field.


                              #### Tax Calculation

                              Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.

                              Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.

                              '
                          administrativeArea:
                            type: string
                            maxLength: 50
                            description: "State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) \n\nRequired field for authorization if any shipping address information is included in the request and shipping to the U.S.\nor Canada; otherwise, optional.\n\n#### Tax Calculation\nOptional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.\nBilling address objects will be used to determine the cardholder’s location when shipTo objects are not present.\n"
                          locality:
                            type: string
                            maxLength: 50
                            description: 'City of the shipping address.


                              Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or

                              Canada; otherwise, optional.


                              #### Tax Calculation

                              Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.

                              Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.

                              '
                          postalCode:
                            type: string
                            maxLength: 32
                            description: 'Postal code for the shipping address. The postal code must consist of 5 to 9 digits.


                              Required field for authorization if any shipping address information is included in the request and

                              shipping to the U.S. or Canada; otherwise, optional.


                              When the billing country is the U.S., the 9-digit postal code must follow this format:

                              [5 digits][dash][4 digits]


                              Example 12345-6789


                              When the billing country is Canada, the 6-digit postal code must follow this format:

                              [alpha][numeric][alpha][space][numeric][alpha][numeric]


                              Example A1B 2C3


                              #### American Express Direct

                              Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the

                              remaining value is longer than nine characters, the value is truncated starting from the right side.

                              #### Tax Calculation

                              Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes.

                              Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.

                              '
                          country:
                            type: string
                            description: 'Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)


                              Required field for authorization if any shipping address information is included in the request; otherwise, optional.


                              #### Tax Calculation

                              Optional field for U.S., Canadian, international tax, and value added taxes.

                              Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.

                              '
                            maxLength: 3
        '400':
          description: Invalid request.
          content:
            application/hal+json:
              schema:
                type: object
                title: ptsV2RetrievePaymentTokenGet400Response
                properties:
                  id:
                    type: string
                    maxLength: 26
                    description: 'An unique identification number generated by Cybersource to identify the submitted request. Returned by all services.

                      It is also appended to the endpoint of the resource.

                      On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.

                      '
                  submitTimeUtc:
                    type: string
                    description: 'Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`

                      **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).

                      The `T` separates the date and the time. The `Z` indicates UTC.


                      Returned by Cybersource for all services.

                      '
                  status:
                    type: string
                    description: "The status of the submitted transaction.\n\nPossible values:\n - INVALID_REQUEST\n"
                  reason:
                    type: string
                    description: "The reason of the status.      \n\nPossible values:\n - INVALID_DATA\n - RESOURCE_NOT_FOUND\n"
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: This is the flattened JSON object field name/path that is either missing or invalid.
                        reason:
                          type: string
                          description: "Possible reasons for the error.\n\nPossible values:\n - MISSING_FIELD\n - INVALID_DATA\n"
        '502':
          description: Internal server error.
          content:
            application/hal+json:
              schema:
                title: ptsV2RetrievePaymentTokenGet502Response
                type: object
                properties:
                  submitTimeUtc:
                    type: string
                    description: 'Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`

                      **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).

                      The `T` separates the date and the time. The `Z` indicates UTC.


                      Returned by Cybersource for all services.

                      '
                  status:
                    type: string
                    description: "The status of the submitted transaction.\n\nPossible values:\n - SERVER_ERROR\n"
                  reason:
                    type: string
                    description: "The reason of the status.\n\nPossible values:\n - INTERNAL_SERVER_ERROR\n"
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  id:
                    type: string
                    maxLength: 26
                    description: 'An unique identification number generated by Cybersource to identify the submitted request. Returned by all services.

                      It is also appended to the endpoint of the resource.

                      On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.

                      '
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                processingInformation:
                  type: object
                  properties:
                    actionList:
                      type: array
                      description: "Array of actions (one or more) to be included in the payment to invoke bundled services.\nPossible values are one or more of follows:\n\n - `TOKEN_RETRIEVE`: Use this when Alternative Payment token retrieval is requested.\n - `TOKEN_DELETE`: Use this when Alternative Payment token deletion is requested.\n"
                      items:
                        type: string
                paymentInformation:
                  type: object
                  properties:
                    paymentType:
                      type: object
                      properties:
                        name:
                          type: string
                          description: 'A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit.

                            Possible values:

                            - `CARD` (use this for a PIN debit transaction)

                            - `CHECK` (use this for all eCheck payment transactions - ECP Debit, ECP Follow-on Credit, ECP StandAlone Credit)

                            - `bankTransfer` (use for Online Bank Transafer for methods such as P24, iDeal, Estonia Bank, KCP)

                            - `localCard` (KCP Local card via Altpay)

                            - `carrierBilling` (KCP Carrier Billing via Altpay)

                            '
                        method:
                          type: object
                          properties:
                            name:
                              type: string
                              description: 'A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal, 7Eleven, alfamart, bofaPayByBank, payToPayByBank, etc


                                For Japan Payment Processing Valid Values:

                                - 1 Banking Data

                                - 2 Authorization Data


                                #### Via KCP

                                - `KCP` : Local Card, Bank Transfer and Carrier Billing.

                                - `PAYCO`

                                - `KAKAOPAY`

                                - `NAVERPAY`

                                '
                    tokenizedPaymentMethod:
                      type: object
                      properties:
                        id:
                          type: string
                          maxLength: 255
                          description: 'The PayPal-generated ID for the token.

                            '
          application/json; charset=utf-8:
            schema:
              type: object
              properties:
                processingInformation:
                  type: object
                  properties:
                    actionList:
                      type: array
                      description: "Array of actions (one or more) to be included in the payment to invoke bundled services.\nPossible values are one or more of follows:\n\n - `TOKEN_RETRIEVE`: Use this when Alternative Payment token retrieval is requested.\n - `TOKEN_DELETE`: Use this when Alternative Payment token deletion is requested.\n"
                      items:
                        type: string
                paymentInformation:
                  type: object
                  properties:
                    paymentType:
                      type: object
                      properties:
                        name:
                          type: string
                          description: 'A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit.

                            Possible values:

                            - `CARD` (use this for a PIN debit transaction)

                            - `CHECK` (use this for all eCheck payment transactions - ECP Debit, ECP Follow-on Credit, ECP StandAlone Credit)

                            - `bankTransfer` (use for Online Bank Transafer for methods such as P24, iDeal, Estonia Bank, KCP)

                            - `localCard` (KCP Local card via Altpay)

                            - `carrierBilling` (KCP Carrier Billing via Altpay)

                            '
                        method:
                          type: object
                          properties:
                            name:
                              type: string
                              description: 'A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal, 7Eleven, alfamart, bofaPayByBank, payToPayByBank, etc


                                For Japan Payment Processing Valid Values:

                                - 1 Banking Data

                                - 2 Authorization Data


                                #### Via KCP

                                - `KCP` : Local Card, Bank Transfer and Carrier Billing.

                                - `PAYCO`

                                - `KAKAOPAY`

                                - `NAVERPAY`

                                '
                    tokenizedPaymentMethod:
                      type: object
                      properties:
                        id:
                          type: string
                          maxLength: 255
                          description: 'The PayPal-generated ID for the token.

                            '
        required: true