Paytronix · JSON Structure

Server Api Gift Request Structure

GiftRequest schema from Paytronix Server API

Type: object Properties: 8 Required: 4
RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

GiftRequest is a JSON Structure definition published by Paytronix, describing 8 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

merchantId storeCode cardInfo amount checkNumber cashier terminalId externalTransactionId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-structure/server-api-gift-request-structure.json",
  "name": "GiftRequest",
  "description": "GiftRequest schema from Paytronix Server API",
  "type": "object",
  "properties": {
    "merchantId": {
      "type": "int32",
      "example": 1000
    },
    "storeCode": {
      "type": "string",
      "example": "1"
    },
    "cardInfo": {
      "$ref": "#/components/schemas/CardInfo"
    },
    "amount": {
      "type": "double",
      "example": 25.0
    },
    "checkNumber": {
      "type": "string"
    },
    "cashier": {
      "type": "string"
    },
    "terminalId": {
      "type": "string"
    },
    "externalTransactionId": {
      "type": "string"
    }
  },
  "required": [
    "merchantId",
    "storeCode",
    "cardInfo",
    "amount"
  ]
}