POST Generate Token Payment Processor

​
Headers
  • Accept
    Type: string
    required

    Accept header

  • Authorization
    Type: string

    Authorization header

  • Content-Type
    Type: string
    required

    Content-Type header

  • API-VERSION
    Type: string
    required

    API version

  • Application
    Type: string
    required

    Application key

  • X-Request-ID
    Type: string
    required

    Unique request identifier

  • X-QB-Enabled
    enum
    required

    Header which if sent with value 'true' will allow usage of the query building feature in response (through the request's query params). It is mandatory for this part of the documentation.

    values
    • true
    • false
Responses
  • application/json
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

Request Example for post/payment-processors/generate-tokens
curl https://api-public-demo.menu.app/api/payment-processors/generate-tokens \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'Application: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937 ' \
  --header 'X-QB-Enabled: true'
{
  "status": "OK",
  "code": 200,
  "data": {
    "tokens": [
      {
        "payment_processor_id": "8e5b0340-42bd-4eb8-b06a-836f28fb1f73",
        "payment_processor_type_id": 32,
        "token": "e4c70c07-d015-4fad-8e79-a71cf23ed179",
        "additional_info": {
          "session_key": "eyJhbGciOiJBMjU2R0NNS1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiaXYiOiJWTnlUOHNQdDNISWZ1QzU5IiwidGFnIjoia3oyUHVWM2hQcm9CbnFDRTVzbHdBZyIsInppcCI6IkRFRiJ9"
        },
        "actions": {
          "url": "https://api-playground.menu.app/api/payment-processors/init_token?mt_application_id=001&mt_payment_processor_id=392&tokenType=1&template=card&isPayment=&successUrl=https://api-playground.menu.app/api/payment-processors/success?mt_application_id=683&failUrl=https://api-playground.menu.app/api/payment-processors/fail?mt_application_id=683&sessionId=309200223163384375330000281485&iframeUrl=https://uatps48.aurusepay.com/storeservices/ecom/getiframe?a=0369D05Bf1e9b6fe33a826efb184f6ecb618ef26582c0e1230febc98c8b2c6e3313e5e58ea96b27ca545ba2eada315a4ca74e7f232cee99e935019603aac5e0f84ae845a64191de5e533e1ff3afeb4b641df36f988f22982ca1abbe650dc3ecaa3c1fbc0c34a0a0ada48b19cb1f38b5ad2482527bdd90f416ddbb623d3a8ada2096d96db89baf937b78cad120644c0a3d584b306e786b4821841b0a93dcc69c42290f9662d86ab452e2e09e0c7d66c51ab5333ca915df03d8a991e90cb0be695fc40859d99db4a7d03d656a0d1307847fdfda4aa2ccde314b0caca7a29f7ab0695dd5e8321e58309b85840708ec2e1d90f7515c801b9e609c6395decb1044765e2937cb2dd4fefc978f537833f263eb90120d14de5763b1279b2f20407ccd11c369095428675e3fd8364c82798f99446036e21c4b48b62f04eabdbd2ae7e9668348edf4ef0102af87ab8d15e67060cfbd8bc0147fb68a535fee9c70f65bf2001e30735d0e0dc700cea4ca00c8a552714c949b4ad558033c6b22dfff9e4b64f4894a133a5"
        },
        "bin_ranges": {
          "bin_ranges": [
            {
              "range": {
                "to": 9999,
                "from": 7000
              },
              "refundable": true,
              "pin_required": true,
              "rechargeable": true
            }
          ]
        }
      }
    ]
  }
}

Example response

Copyright © 2026 PAR Technology Corporation. All rights reserved.
PAR Technology Corporation 8383 Seneca Turnpike, Suite 3 New Hartford, New York 13413 (315) 738-0600 legal@partech.com. PAR Tech is a leading global provider of software, systems, and service solutions to the restaurant and retail industries. You may learn about its product offerings here.
Before using this application, please read the Limited License Agreement and the PAR Tech Terms of Use. In addition, the sample applications of PAR Technology are licensed under the terms of the O'Saasy License.
logo
  • Home
  • Guides
    • References
    • APIs
    • Tools/Platforms
      • Knowledge Base
      • System Status