National Australia Bank Activation Codes and Certificates API

Endpoints for Activation Codes and Certificates.

Operations 4

POST /dms/merchants/{merchantId}/activation-codes Returns a list of activation codes for acceptance devices solution #
GET /dms/v2/devices/certificates/rootca Returns the string representation of certificate of the certificate issuing… #
GET /dms/v2/devices/certificates/expirations Returns expirations dates of certificates installed on devices activated with… #
POST /dms/v2/devices/certificates/revoke Revoke the certificate of the specified device of the specified merchant #

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-activation-codes-and-certificates-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-activation-codes-and-certificates-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 Activation Codes and Certificates…
servers:
- url: https://apitest.cybersource.com/
tags:
- name: Activation Codes and Certificates
  description: Endpoints for Activation Codes and Certificates.
paths:
  /dms/merchants/{merchantId}/activation-codes:
    post:
      tags:
      - Activation Codes and Certificates
      summary: Returns a list of activation codes for acceptance devices solution
      operationId: generateActivationCodes
      parameters:
      - in: path
        name: merchantId
        required: true
        schema:
          type: string
      - in: query
        name: size
        required: true
        schema:
          type: integer
      responses:
        '201':
          description: Activation codes created
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  tokens:
                    type: array
                    description: A collection of activation codes
                    items:
                      type: object
                      properties:
                        token:
                          type: string
                          description: The code that can be used to activate a terminal for the acceptance devices.
                        ttl:
                          type: integer
                          description: Number of milliseconds this code is valid from when it's generated.
        '400':
          description: Bad Request
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: The status of the submitted request.
                    enum:
                    - BAD_REQUEST
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  details:
                    type: array
                    description: An optional array which provides more details of the error.
                    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.

                            '
                        code:
                          type: string
                          description: An optional short string which identifies the exact field error.
                  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.

                      '
        '401':
          description: Unauthorized
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - UNAUTHORIZED
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '403':
          description: Forbidden
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - FORBIDDEN
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '404':
          description: Not Found
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - NOT_FOUND
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '500':
          description: Unexpected system error or system timeout.
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - INTERNAL_SERVER_ERROR
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
  /dms/v2/devices/certificates/rootca:
    get:
      tags:
      - Activation Codes and Certificates
      summary: Returns the string representation of certificate of the certificate issuing…
      description: This string representation of certificate can be used to establish TLS communication for the acceptance devices product
      operationId: getRootCA
      responses:
        '200':
          description: String representation of certificate of the certificate issuing authority
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  certificateChain:
                    type: string
                    description: String representation of certificate of the certificate issuing authority.
        '400':
          description: Bad Request
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: The status of the submitted request.
                    enum:
                    - BAD_REQUEST
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  details:
                    type: array
                    description: An optional array which provides more details of the error.
                    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.

                            '
                        code:
                          type: string
                          description: An optional short string which identifies the exact field error.
                  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.

                      '
        '401':
          description: Unauthorized
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - UNAUTHORIZED
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '403':
          description: Forbidden
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - FORBIDDEN
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '404':
          description: Not Found
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - NOT_FOUND
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '500':
          description: Unexpected system error or system timeout.
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - INTERNAL_SERVER_ERROR
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
  /dms/v2/devices/certificates/expirations:
    get:
      tags:
      - Activation Codes and Certificates
      summary: Returns expirations dates of certificates installed on devices activated with…
      description: Returns expirations dates of certificates installed on devices activated with acceptance devices products
      operationId: getCertificateExpirations
      parameters:
      - in: query
        name: merchantId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Expiration dates with device id of certificates of the merchant
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  expirations:
                    type: array
                    description: A collection of expiration dates and device ids
                    items:
                      type: object
                      properties:
                        deviceId:
                          type: string
                          description: Id of the device
                        deviceType:
                          type: string
                          description: Type of the device
                        expirationDateInMilliseconds:
                          type: integer
                          description: Epoc milliseconds of when the certificate of the device will expire
        '400':
          description: Bad Request
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: The status of the submitted request.
                    enum:
                    - BAD_REQUEST
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  details:
                    type: array
                    description: An optional array which provides more details of the error.
                    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.

                            '
                        code:
                          type: string
                          description: An optional short string which identifies the exact field error.
                  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.

                      '
        '401':
          description: Unauthorized
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - UNAUTHORIZED
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '403':
          description: Forbidden
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - FORBIDDEN
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '404':
          description: Not Found
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - NOT_FOUND
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '500':
          description: Unexpected system error or system timeout.
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - INTERNAL_SERVER_ERROR
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
  /dms/v2/devices/certificates/revoke:
    post:
      tags:
      - Activation Codes and Certificates
      summary: Revoke the certificate of the specified device of the specified merchant
      operationId: revokeCertificates
      responses:
        '200':
          description: Empty response if the operation is successful
        '400':
          description: Bad Request
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: The status of the submitted request.
                    enum:
                    - BAD_REQUEST
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  details:
                    type: array
                    description: An optional array which provides more details of the error.
                    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.

                            '
                        code:
                          type: string
                          description: An optional short string which identifies the exact field error.
                  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.

                      '
        '401':
          description: Unauthorized
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - UNAUTHORIZED
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '403':
          description: Forbidden
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - FORBIDDEN
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '404':
          description: Not Found
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - NOT_FOUND
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
        '500':
          description: Unexpected system error or system timeout.
          content:
            application/hal+json;charset=utf-8:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: 'The status of the submitted request.

                      '
                    enum:
                    - INTERNAL_SERVER_ERROR
                  message:
                    type: string
                    description: The detail message related to the status and reason listed above.
                  code:
                    type: string
                    description: An optional short string which identifies the exact error.
                  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.

                      '
      requestBody:
        content:
          application/json;charset=utf-8:
            schema:
              type: object
              required:
              - merchantId
              - deviceId
              - deviceType
              properties:
                merchantId:
                  type: string
                  description: Id of the merchant to revoke certificate
                deviceId:
                  type: string
                  description: Id of the device to revoke certificate
                deviceType:
                  type: string
                  description: Type of the device
        description: Merchant and device details to revoke it's certificate