{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-payment-instrument-balance-request-schema.json",
  "title": "PaymentInstrumentBalanceRequest",
  "description": "Request body for checking the balance of a payment instrument.\n\nThe payment method ID and provider identify the payment provider. Provider-specific properties are defined and\nvalidated by that provider.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-shopper-payments-api-openapi.yml#/components/schemas/PaymentInstrumentBalanceRequest",
  "type": "object",
  "properties": {
    "paymentMethodId": {
      "minLength": 1,
      "maxLength": 256,
      "description": "The payment method ID.",
      "type": "string"
    },
    "provider": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "Identifies the payment provider that handles the balance inquiry."
    },
    "providerProperties": {
      "type": "object",
      "additionalProperties": true,
      "description": "Provider-specific balance inquiry properties. Do not include PCI-relevant data, such as a primary account\nnumber (PAN), in this object. Use client-side tokenization or encrypted fields when payment-instrument\ndata is required."
    }
  },
  "required": [
    "paymentMethodId",
    "provider",
    "providerProperties"
  ]
}