Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 1 addition & 39 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -12876,8 +12849,7 @@
"payment_type": {
"description": "Type of the payment. Required for some countries",
"enum": [
"card",
"pix"
"card"
],
"type": "string"
},
Expand Down Expand Up @@ -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",
Expand Down
32 changes: 0 additions & 32 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
40 changes: 1 addition & 39 deletions openapi31.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -13092,8 +13065,7 @@
"payment_type": {
"description": "Type of the payment. Required for some countries",
"enum": [
"card",
"pix"
"card"
],
"type": "string"
},
Expand Down Expand Up @@ -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",
Expand Down
32 changes: 0 additions & 32 deletions openapi31.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down