Terminal
SearchTerminalCheckouts
Returns a filtered list of Terminal checkout requests created by the application making the request. Only Terminal checkout requests created for the merchant scoped to the OAuth token are returned. Terminal checkout requests are available for 30 days.
post/v2/terminals/checkouts/search
Request body
Example request
{
"limit": 2,
"query": {
"filter": {
"status": "COMPLETED"
}
}
}Response
Success
Example response
{
"checkouts": [
{
"amount_money": {
"amount": 2610,
"currency": "USD"
},
"app_id": "APP_ID",
"created_at": "2020-03-31T18:13:15.921Z",
"deadline_duration": "PT5M",
"device_options": {
"device_id": "dbb5d83a-7838-11ea-bc55-0242ac130003",
"skip_receipt_screen": false,
"tip_settings": {
"allow_tipping": false
}
},
"id": "tsQPvzwBpMqqO",
"note": "A brief note",
"payment_ids": [
"rXnhZzywrEk4vR6pw76fPZfgvaB"
],
"reference_id": "id14467",
"status": "COMPLETED",
"updated_at": "2020-03-31T18:13:52.725Z"
},
{
"amount_money": {
"amount": 2610,
"currency": "USD"
},
"app_id": "APP_ID",
"created_at": "2020-03-31T18:08:31.882Z",
"deadline_duration": "PT5M",
"device_options": {
"device_id": "dbb5d83a-7838-11ea-bc55-0242ac130003",
"skip_receipt_screen": true,
"tip_settings": {
"allow_tipping": false
}
},
"id": "XlOPTgcEhrbqO",
"note": "A brief note",
"payment_ids": [
"VYBF861PaoKPP7Pih0TlbZiNvaB"
],
"reference_id": "id41623",
"status": "COMPLETED",
"updated_at": "2020-03-31T18:08:41.635Z"
}
],
"cursor": "RiTJqBoTuXlbLmmrPvEkX9iG7XnQ4W4RjGnH"
}