diff --git a/openapi.json b/openapi.json index 6a266ea8..86fe43e4 100755 --- a/openapi.json +++ b/openapi.json @@ -6400,14 +6400,6 @@ }, "application/problem+json": { "examples": { - "PaymentMethodNotAllowed": { - "value": { - "detail": "Payment method not allowed for this merchant.", - "status": 422, - "title": "Payment Method Not Allowed", - "type": "https://developer.sumup.com/problem/payment-method-not-allowed" - } - }, "ValidationError": { "value": { "detail": "Validation failed", @@ -6894,18 +6886,8 @@ } } ], - "requestBody": { - "content": { - "application/json": {} - }, - "description": "A checkout initial attributes", - "required": false - }, "responses": { "202": { - "content": { - "application/json": {} - }, "description": "The Terminate action was successfully dispatched for the given reader." }, "400": { @@ -12743,15 +12725,6 @@ } } }, - "PaymentMethodNotAllowed": { - "description": "Error returned when the requested payment method is not supported for the merchant (e.g. pix for non-BR merchants).", - "value": { - "errors": { - "detail": "Payment method not allowed for this merchant.", - "type": "PAYMENT_METHOD_NOT_ALLOWED" - } - } - }, "ReaderBusy": { "description": "Error returned when a checkout was requested in the last 60 seconds.", "value": { @@ -12876,8 +12849,7 @@ "payment_type": { "description": "Type of the payment. Required for some countries", "enum": [ - "card", - "pix" + "card" ], "type": "string" }, @@ -13477,16 +13449,6 @@ "nullable": true, "type": "integer" }, - "payment_type": { - "default": "card", - "description": "The payment method type for the transaction. Defaults to `card`.\n\nUse `pix` to initiate a Pix QR-code payment flow on the device.\nPix is only supported for Brazilian merchants; other merchants will receive a 422 error.\n", - "enum": [ - "card", - "pix" - ], - "example": "card", - "type": "string" - }, "return_url": { "description": "Webhook URL to which the payment result will be sent.\nIt must be a HTTPS url.\n", "example": "https://www.example.com", diff --git a/openapi.yaml b/openapi.yaml index 711fc22f..c086933f 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4473,12 +4473,6 @@ paths: $ref: '#/components/schemas/CreateReaderCheckoutUnprocessableEntity' application/problem+json: examples: - PaymentMethodNotAllowed: - value: - detail: Payment method not allowed for this merchant. - status: 422 - title: Payment Method Not Allowed - type: https://developer.sumup.com/problem/payment-method-not-allowed ValidationError: value: detail: Validation failed @@ -4840,15 +4834,8 @@ paths: required: true schema: type: string - requestBody: - content: - application/json: {} - description: A checkout initial attributes - required: false responses: '202': - content: - application/json: {} description: The Terminate action was successfully dispatched for the given reader. '400': content: @@ -9822,12 +9809,6 @@ components: errors: installments: - is invalid - PaymentMethodNotAllowed: - description: Error returned when the requested payment method is not supported for the merchant (e.g. pix for non-BR merchants). - value: - errors: - detail: Payment method not allowed for this merchant. - type: PAYMENT_METHOD_NOT_ALLOWED ReaderBusy: description: Error returned when a checkout was requested in the last 60 seconds. value: @@ -9923,7 +9904,6 @@ components: description: Type of the payment. Required for some countries enum: - card - - pix type: string reader_firmware_version: description: Reader firmware version @@ -10398,18 +10378,6 @@ components: minimum: 1 nullable: true type: integer - payment_type: - default: card - description: | - The payment method type for the transaction. Defaults to `card`. - - Use `pix` to initiate a Pix QR-code payment flow on the device. - Pix is only supported for Brazilian merchants; other merchants will receive a 422 error. - enum: - - card - - pix - example: card - type: string return_url: description: | Webhook URL to which the payment result will be sent. diff --git a/openapi31.json b/openapi31.json index 367472f5..b65e17db 100644 --- a/openapi31.json +++ b/openapi31.json @@ -6400,14 +6400,6 @@ }, "application/problem+json": { "examples": { - "PaymentMethodNotAllowed": { - "value": { - "detail": "Payment method not allowed for this merchant.", - "status": 422, - "title": "Payment Method Not Allowed", - "type": "https://developer.sumup.com/problem/payment-method-not-allowed" - } - }, "ValidationError": { "value": { "detail": "Validation failed", @@ -6894,18 +6886,8 @@ } } ], - "requestBody": { - "content": { - "application/json": {} - }, - "description": "A checkout initial attributes", - "required": false - }, "responses": { "202": { - "content": { - "application/json": {} - }, "description": "The Terminate action was successfully dispatched for the given reader." }, "400": { @@ -12951,15 +12933,6 @@ } } }, - "PaymentMethodNotAllowed": { - "description": "Error returned when the requested payment method is not supported for the merchant (e.g. pix for non-BR merchants).", - "value": { - "errors": { - "detail": "Payment method not allowed for this merchant.", - "type": "PAYMENT_METHOD_NOT_ALLOWED" - } - } - }, "ReaderBusy": { "description": "Error returned when a checkout was requested in the last 60 seconds.", "value": { @@ -13092,8 +13065,7 @@ "payment_type": { "description": "Type of the payment. Required for some countries", "enum": [ - "card", - "pix" + "card" ], "type": "string" }, @@ -13699,16 +13671,6 @@ "null" ] }, - "payment_type": { - "default": "card", - "description": "The payment method type for the transaction. Defaults to `card`.\n\nUse `pix` to initiate a Pix QR-code payment flow on the device.\nPix is only supported for Brazilian merchants; other merchants will receive a 422 error.\n", - "enum": [ - "card", - "pix" - ], - "example": "card", - "type": "string" - }, "return_url": { "description": "Webhook URL to which the payment result will be sent.\nIt must be a HTTPS url.\n", "example": "https://www.example.com", diff --git a/openapi31.yaml b/openapi31.yaml index 817f99d6..c4c77a5a 100644 --- a/openapi31.yaml +++ b/openapi31.yaml @@ -4473,12 +4473,6 @@ paths: $ref: '#/components/schemas/CreateReaderCheckoutUnprocessableEntity' application/problem+json: examples: - PaymentMethodNotAllowed: - value: - detail: Payment method not allowed for this merchant. - status: 422 - title: Payment Method Not Allowed - type: https://developer.sumup.com/problem/payment-method-not-allowed ValidationError: value: detail: Validation failed @@ -4840,15 +4834,8 @@ paths: required: true schema: type: string - requestBody: - content: - application/json: {} - description: A checkout initial attributes - required: false responses: '202': - content: - application/json: {} description: The Terminate action was successfully dispatched for the given reader. '400': content: @@ -9992,12 +9979,6 @@ components: errors: installments: - is invalid - PaymentMethodNotAllowed: - description: Error returned when the requested payment method is not supported for the merchant (e.g. pix for non-BR merchants). - value: - errors: - detail: Payment method not allowed for this merchant. - type: PAYMENT_METHOD_NOT_ALLOWED ReaderBusy: description: Error returned when a checkout was requested in the last 60 seconds. value: @@ -10097,7 +10078,6 @@ components: description: Type of the payment. Required for some countries enum: - card - - pix type: string reader_firmware_version: description: Reader firmware version @@ -10575,18 +10555,6 @@ components: type: - integer - "null" - payment_type: - default: card - description: | - The payment method type for the transaction. Defaults to `card`. - - Use `pix` to initiate a Pix QR-code payment flow on the device. - Pix is only supported for Brazilian merchants; other merchants will receive a 422 error. - enum: - - card - - pix - example: card - type: string return_url: description: | Webhook URL to which the payment result will be sent.