ดูสถานะการส่งออก

GEThttps://api.checkslip.com/api/slips/exports/{export_id}

ใช้ API key

แสดงสถานะของงานส่งออก (state) และลิงก์ดาวน์โหลดของแต่ละไฟล์ · ลิงก์มีอายุสั้น ขอใหม่ได้ทุกครั้งที่เรียก · ใช้ API key ที่มีสิทธิ์ slip:read

Parameters

ฟิลด์ส่งทางชนิดจำเป็น
export_idpathstring (uuid)ใช่

Responses

200 application/json

ฟิลด์ชนิดจำเป็น
export_idstring (uuid)ใช่
stateQUEUED | RUNNING | READY | FAILED | EXPIREDใช่
modeDIRECT | JOBไม่
created_atstring (date-time)ใช่
requestExportRequestใช่
request.qstringไม่
request.trans_refstringไม่
request.outcomeFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]ไม่
request.outcome_notFOUND | NOT_FOUND | DUPLICATE | PENDING | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD[]ไม่
request.sender_bankstringไม่
request.api_keystringไม่
request.chargedtrue | false | unsettled[]ไม่
request.free_reasonNOT_FOUND | DUPLICATE | UNAVAILABLE | INVALID_QR | INVALID_FILE | QR_TAMPERED | TOO_OLD | SYSTEM_ERROR | OTHER[]ไม่
request.fromstring (date-time)ไม่
request.tostring (date-time)ไม่
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[]ใช่
request.cursorstringไม่
rowsinteger | nullไม่
truncatedbooleanไม่
truncated_afterobject | nullไม่
truncated_after.checked_atstring (date-time)ใช่
truncated_after.request_idstring (uuid)ใช่
continue_cursorstring | nullไม่
expires_atstring (date-time) | nullไม่
partsobject[]ไม่
parts[].partintegerใช่
parts[].rowsinteger | nullไม่
parts[].urlstring (uri)ใช่
parts[].url_expires_atstring (date-time)ใช่

Error ที่อาจได้

401403404410429

error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด