Paytronix · JSON Structure

Server Api Recharge Request Structure

RechargeRequest schema from Paytronix Server API

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

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

Properties

merchantId printedCardNumber amount paymentMethod address

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-recharge-request-structure.json",
  "name": "RechargeRequest",
  "description": "RechargeRequest schema from Paytronix Server API",
  "type": "object",
  "properties": {
    "merchantId": {
      "type": "int32",
      "example": 1000
    },
    "printedCardNumber": {
      "type": "string",
      "example": "60490012345678"
    },
    "amount": {
      "type": "double",
      "example": 25.0
    },
    "paymentMethod": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "example": "CREDIT_CARD"
        },
        "token": {
          "type": "string"
        },
        "lastFour": {
          "type": "string",
          "example": "4242"
        }
      }
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    }
  },
  "required": [
    "merchantId",
    "printedCardNumber",
    "amount",
    "paymentMethod"
  ]
}