{ "post": { "tags": [ "CustomerConsent" ], "summary": "Customer Consent Request", "description": "Customer Consent Request", "operationId": "CustomerConsent", "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "../schemas/CustomerConsentRequest.json" } }, "application/xml": { "schema": { "$ref": "../schemas/CustomerConsentRequest.json" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "../schemas/CustomerConsentRequest.json" } } } }, "responses": { "200": { "description": "Successful", "content": { "application/json": { "schema": { "$ref": "../schemas/CustomerConsentResponse.json" } }, "application/xml": { "schema": { "$ref": "../schemas/CustomerConsentResponse.json" } } } }, "400": { "description": "Invalid request" }, "422": { "description": "Validation exception" }, "500": { "description": "Internal server error" } } } }