การชำระเงิน
รับชำระด้วยคริปโท — หน้าชำระเงินและ API รองรับกว่า 110 เหรียญ ไวท์เลเบล — แบรนด์ของคุณตลอดทั้งขั้นตอนชำระเงิน การประมวลผลเงิน — แปลงอัตโนมัติ ถอนเงิน และการควบคุม จ่ายเงินจำนวนมาก — จ่ายคริปโทเป็นชุดผ่าน API หรือไฟล์ แพลตฟอร์ม — การชำระเงินและค่าคอมมิชชันสำหรับมาร์เก็ตเพลส อุตสาหกรรม — การชำระเงินคริปโตสำหรับเกม โฮสติ้ง SaaS และอื่นๆ วิธีการชำระเงิน — คริปโต บัตร Apple Pay PayPal และวิธีชำระเงินท้องถิ่น
สวอป ปลั๊กอิน พันธมิตร ค่าธรรมเนียม บล็อก เอกสาร ติดต่อเรา
ภาษา
เข้าสู่ระบบ
API and webhooks

Common API errors

What each error code means and what to change.

Updated 2 min read

Every error answer has a readable error message and a fixed code your program can rely on.

HTTPCodeWhat to do
401unauthorizedThe key is missing, mistyped, or the wrong kind for this request. See Your API keys.
403forbiddenThe key is valid but may not do this, for example a test key on a live-only request.
404not_foundNo such payment, payout or address on this account. Check the ID and that you are using the right account's key.
409conflictThe same request is already in progress, or the object is in a state that doesn't allow it.
422invalid_requestA field is missing or not valid. The message names it.
429rate_limitedToo many requests. Wait for the time in the Retry-After header.
5xxserver_error, upstream_error, unavailableTry again shortly. For money-out requests read the note below first.

Retry safely with an idempotency key

Send an Idempotency-Key header with requests that create something. If the connection drops and you send the same request again with the same key, you get the original answer back and nothing is created twice. Use a new key for each new order.

If a payout request ends with a 5xx error or no answer, don't send it again with a new key. Look the payout up first, or ask us. It may have been sent.

Amounts

Send amounts as numbers in the payment's currency. A currency we don't price is refused rather than guessed.

The complete list is in the API reference.

Was this article helpful?