Get an export
GEThttps://api.checkslip.com/api/slips/exports/{export_id}
API key
The export's state and a download link for each part. Links are short-lived; each call gives fresh ones. Needs an API key with slip:read.
Parameters
| Field | In | Type | Required |
|---|---|---|---|
export_id | path | string (uuid) | yes |
Responses
200 application/json
| Field | Type | Required |
|---|---|---|
export_id | string (uuid) | yes |
state | QUEUED | RUNNING | READY | FAILED | EXPIRED | yes |
mode | DIRECT | JOB | no |
created_at | string (date-time) | yes |
request | ExportRequest | yes |
request.q | string | no |
request.trans_ref | string | no |
request.outcome | FOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[] | no |
request.outcome_not | FOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[] | no |
request.sender_bank | string | no |
request.api_key | string | no |
request.charged | true | false | unsettled[] | no |
request.free_reason | NOT_FOUND | DUPLICATE | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD | SYSTEM_ERROR | OTHER[] | no |
request.from | string (date-time) | no |
request.to | string (date-time) | no |
request.columns | request_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.cursor | string | no |
rows | integer | null | no |
truncated | boolean | no |
truncated_after | object | null | no |
truncated_after.checked_at | string (date-time) | yes |
truncated_after.request_id | string (uuid) | yes |
continue_cursor | string | null | no |
expires_at | string (date-time) | null | no |
parts | object[] | no |
parts[].part | integer | yes |
parts[].rows | integer | null | no |
parts[].url | string (uri) | yes |
parts[].url_expires_at | string (date-time) | yes |
Possible errors
401403404410429
An error as Problem Details. All codes are listed at Error codes