Export past lookups as CSV

POSThttps://api.checkslip.com/api/slips/exports

API key

Make a CSV of the lookup history with the same filters and columns as the history page, for matching against your own orders. Up to 1,000,000 rows comes back at once; more runs as a background job in parts of at most 1,000,000 rows, deleted 24 hours after they are ready. One export holds at most 100,000,000 rows; for more, send continue_cursor and the next export starts right after, with no gaps and no repeats. No credit is used. One running export per account. Needs an API key with slip:read. The file holds payer and payee names: keep it safe.

Request body

application/json

FieldTypeRequired
qstringno
trans_refstringno
outcomeFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]no
outcome_notFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]no
sender_bankstringno
api_keystringno
chargedtrue | false | unsettled[]no
free_reasonNOT_FOUND | DUPLICATE | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD | SYSTEM_ERROR | OTHER[]no
fromstring (date-time)no
tostring (date-time)no
columnsrequest_id | outcome | status | checked_at | channel | api_key_id | client_reference | duplicate_of.request_id | charge_confirmed | charged | free_reason | slip.trans_ref | slip.transferred_at | slip.amount.satang | slip.amount.currency | slip.sender.bank.code | slip.sender.bank.bot_code | slip.sender.name_th | slip.sender.name_en | slip.sender.account | slip.receiver.bank.code | slip.receiver.bank.bot_code | slip.receiver.name_th | slip.receiver.name_en | slip.receiver.account[]yes
cursorstringno

Responses

200 application/json

FieldTypeRequired
export_idstring (uuid)yes
stateQUEUED | RUNNING | READY | FAILED | EXPIREDyes
modeDIRECT | JOBno
created_atstring (date-time)yes
requestExportRequestyes
request.qstringno
request.trans_refstringno
request.outcomeFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]no
request.outcome_notFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]no
request.sender_bankstringno
request.api_keystringno
request.chargedtrue | false | unsettled[]no
request.free_reasonNOT_FOUND | DUPLICATE | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD | SYSTEM_ERROR | OTHER[]no
request.fromstring (date-time)no
request.tostring (date-time)no
request.columnsrequest_id | outcome | status | checked_at | channel | api_key_id | client_reference | duplicate_of.request_id | charge_confirmed | charged | free_reason | slip.trans_ref | slip.transferred_at | slip.amount.satang | slip.amount.currency | slip.sender.bank.code | slip.sender.bank.bot_code | slip.sender.name_th | slip.sender.name_en | slip.sender.account | slip.receiver.bank.code | slip.receiver.bank.bot_code | slip.receiver.name_th | slip.receiver.name_en | slip.receiver.account[]yes
request.cursorstringno
rowsinteger | nullno
truncatedbooleanno
truncated_afterobject | nullno
truncated_after.checked_atstring (date-time)yes
truncated_after.request_idstring (uuid)yes
continue_cursorstring | nullno
expires_atstring (date-time) | nullno
partsobject[]no
parts[].partintegeryes
parts[].rowsinteger | nullno
parts[].urlstring (uri)yes
parts[].url_expires_atstring (date-time)yes

202 application/json

FieldTypeRequired
export_idstring (uuid)yes
stateQUEUED | RUNNING | READY | FAILED | EXPIREDyes
modeDIRECT | JOBno
created_atstring (date-time)yes
requestExportRequestyes
request.qstringno
request.trans_refstringno
request.outcomeFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]no
request.outcome_notFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]no
request.sender_bankstringno
request.api_keystringno
request.chargedtrue | false | unsettled[]no
request.free_reasonNOT_FOUND | DUPLICATE | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD | SYSTEM_ERROR | OTHER[]no
request.fromstring (date-time)no
request.tostring (date-time)no
request.columnsrequest_id | outcome | status | checked_at | channel | api_key_id | client_reference | duplicate_of.request_id | charge_confirmed | charged | free_reason | slip.trans_ref | slip.transferred_at | slip.amount.satang | slip.amount.currency | slip.sender.bank.code | slip.sender.bank.bot_code | slip.sender.name_th | slip.sender.name_en | slip.sender.account | slip.receiver.bank.code | slip.receiver.bank.bot_code | slip.receiver.name_th | slip.receiver.name_en | slip.receiver.account[]yes
request.cursorstringno
rowsinteger | nullno
truncatedbooleanno
truncated_afterobject | nullno
truncated_after.checked_atstring (date-time)yes
truncated_after.request_idstring (uuid)yes
continue_cursorstring | nullno
expires_atstring (date-time) | nullno
partsobject[]no
parts[].partintegeryes
parts[].rowsinteger | nullno
parts[].urlstring (uri)yes
parts[].url_expires_atstring (date-time)yes

Possible errors

400401403409429

An error as Problem Details. All codes are listed at Error codes