{ "type": "object", "name": "CreatePaymentMethodRequest", "properties": { "paymentGatewayId": { "type": "string" }, "cardPaymentMethod": { "type": "object", "properties": { "cardHolderName": { "type": "string" }, "expiryMonth": { "type": "string" }, "expiryYear": { "type": "string" }, "cardNumber": { "type": "string" }, "cvv": { "type": "string" }, "cardCategory": { "type": "string" }, "cardType": { "type": "string" }, "startYear": { "type": "string" }, "startMonth": { "type": "string" }, "nickName": { "type": "string" }, "accountId": { "type": "string" } }, "required": [ "cardHolderName", "expiryMonth", "expiryYear", "cardNumber", "cvv", "cardCategory", "cardType", "startYear", "startMonth", "nickName", "accountId" ] }, "phone": { "type": "string" }, "email": { "type": "string" }, "additionalData": { "type": "object", "properties": { "key1": { "type": "string" }, "key2": { "type": "string" } }, "required": [ "key1", "key2" ] } }, "required": [ "paymentGatewayId", "cardPaymentMethod", "phone", "email", "additionalData" ], "$schema": "https://json-structure.org/draft/2020-12/schema" }