Paytronix · Schema

RechargeRequest

RechargeRequest schema from Paytronix Server API

RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

Properties

Name Type Description
merchantId integer
printedCardNumber string
amount number
paymentMethod object
address object
View JSON Schema on GitHub

JSON Schema

server-api-recharge-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RechargeRequest",
  "description": "RechargeRequest schema from Paytronix Server API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-schema/server-api-recharge-request-schema.json",
  "type": "object",
  "properties": {
    "merchantId": {
      "type": "integer",
      "example": 1000
    },
    "printedCardNumber": {
      "type": "string",
      "example": "60490012345678"
    },
    "amount": {
      "type": "number",
      "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"
  ]
}