{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/payment_by_other_means", "title": "Payment by Other Means", "type": "object", "description": "The payment by other means details.", "properties": { "charge_different_from_original": { "type": "boolean", "description": "If `true`, indicates that a charge was made that is different from the original charge." }, "received_duplicate": { "type": "boolean", "description": "If `true`, indicates that a duplicate transaction was received." }, "payment_method": { "type": "string", "minLength": 1, "maxLength": 255, "pattern": "^[0-9A-Z_]+$", "description": "The payment method.", "enum": [ "CASH", "CREDIT_CARD", "CHECK", "PAYPAL", "DEBIT_CARD", "GIFT_CARD", "BANK_TRANSFER" ] }, "payment_instrument_suffix": { "type": "string", "minLength": 2, "maxLength": 4, "description": "Last 2-4 characters of the payment instrument. For payment_method CHECK, payment_instrument_suffix entered must be of minimum length 2-4 characters. For payment_method CREDIT_CARD, DEBIT_CARD, GIFT_CARD, BANK_TRANSFER, payment_instrument_suffix entered must be of length 4." } } }