{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/withdrawal_request_model", "title": "withdrawal_request_model", "properties": { "account_type": { "enum": [ "checking", "savings", "credit" ], "type": "string" }, "amount": { "description": "The amount of the transaction in the smallest whole denomination of the applicable currency (eg. For USD use cents)", "type": "integer" }, "card_acceptor": { "$ref": "#/components/schemas/card_acceptor_model" }, "card_id": { "format": "uuid", "type": "string" }, "mid": { "maxLength": 50, "minLength": 1, "type": "string" }, "pin": { "maxLength": 15, "minLength": 1, "type": "string" } }, "required": [ "amount", "card_id", "mid" ], "type": "object" }