ดูเครดิตคงเหลือ

GEThttps://api.checkslip.com/api/billing/balance

ใช้ API key

แสดงเครดิตคงเหลือของบัญชี วันหมดอายุ และบอกว่าเครดิตใกล้หมดหรือยัง (low กับ threshold) เกณฑ์ใกล้หมดคิดจากการใช้งานจริงของบัญชีคุณ ใช้ค่านี้แสดงคำเตือนได้เลย ไม่ต้องคำนวณเอง ใช้ API key ที่มีสิทธิ์ credit:read หรือ billing:read

Responses

200 application/json

ฟิลด์ชนิดจำเป็น
account_idstring (uuid)ใช่
creditsintegerใช่
lowbooleanใช่
thresholdintegerใช่
credits_per_yearinteger | nullใช่
expires_atstring (date-time) | nullใช่
updated_atstring (date-time)ใช่
last_entry_idstring (uuid) | nullไม่

Error ที่อาจได้

401403500

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