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
68 changes: 67 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5455,7 +5455,7 @@
"post": {
"operationId": "CreateReaderCheckout",
"summary": "Create a Reader Checkout",
"description": "Creates a Checkout for a Reader.\n\nThis process is asynchronous and the actual transaction may take some time to be stared on the device.\n\n\nThere are some caveats when using this endpoint:\n* The target device must be online, otherwise checkout won't be accepted\n* After the checkout is accepted, the system has 60 seconds to start the payment on the target device. During this time, any other checkout for the same device will be rejected.\n\n\n**Note**: If the target device is a Solo, it must be in version 3.3.24.3 or higher.\n",
"description": "Creates a Checkout for a Reader.\n\nThis process is asynchronous and the actual transaction may take some time to be started on the device.\n\n\nThere are some caveats when using this endpoint:\n* The target device must be online, otherwise checkout won't be accepted\n* After the checkout is accepted, the system has 60 seconds to start the payment on the target device. During this time, any other checkout for the same device will be rejected.\n\n\n**Note**: If the target device is a Solo, it must be in version 3.3.24.3 or higher.\n",
"parameters": [
{
"name": "merchant_code",
Expand Down Expand Up @@ -5509,6 +5509,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Bad Request",
"status": 400,
"title": "Bad Request",
"type": "https://developer.sumup.com/problem/bad-request"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5524,6 +5530,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Unauthorized",
"status": 401,
"title": "Unauthorized",
"type": "https://developer.sumup.com/problem/unauthorized"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5539,6 +5551,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "The requested resource doesn't exist or does not belong to you.",
"status": 404,
"title": "Requested resource couldn't be found.",
"type": "https://developer.sumup.com/problem/not-found"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5554,6 +5572,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Validation failed",
"status": 422,
"title": "Unprocessable Entity",
"type": "https://developer.sumup.com/problem/validation-error"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand Down Expand Up @@ -5656,6 +5680,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Bad Request",
"status": 400,
"title": "Bad Request",
"type": "https://developer.sumup.com/problem/bad-request"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5671,6 +5701,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Unauthorized",
"status": 401,
"title": "Unauthorized",
"type": "https://developer.sumup.com/problem/unauthorized"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5686,6 +5722,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "The requested resource doesn't exist or does not belong to you.",
"status": 404,
"title": "Requested resource couldn't be found.",
"type": "https://developer.sumup.com/problem/not-found"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand Down Expand Up @@ -5768,6 +5810,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Bad Request",
"status": 400,
"title": "Bad Request",
"type": "https://developer.sumup.com/problem/bad-request"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5783,6 +5831,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "Unauthorized",
"status": 401,
"title": "Unauthorized",
"type": "https://developer.sumup.com/problem/unauthorized"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5798,6 +5852,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "The requested resource doesn't exist or does not belong to you.",
"status": 404,
"title": "Requested resource couldn't be found.",
"type": "https://developer.sumup.com/problem/not-found"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand All @@ -5813,6 +5873,12 @@
}
},
"application/problem+json": {
"example": {
"detail": "The device is offline.",
"status": 422,
"title": "Reader Offline",
"type": "https://developer.sumup.com/problem/reader-offline"
},
"schema": {
"$ref": "#/components/schemas/Problem"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/resources/readers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class Readers extends APIResource {
/**
* Creates a Checkout for a Reader.
*
* This process is asynchronous and the actual transaction may take some time to be stared on the device.
* This process is asynchronous and the actual transaction may take some time to be started on the device.
*
*
* There are some caveats when using this endpoint:
Expand Down
Loading