> For the complete documentation index, see [llms.txt](https://docs.payright.my/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payright.my/error-codes.md). Agents can also search and read this documentation through its [MCP server](https://docs.payright.my/~gitbook/mcp).

# Error Codes

We use HTTP status codes to indicate success or failure of a request.

<table><thead><tr><th width="170">Status Codes</th><th width="185">Status</th><th>Description</th></tr></thead><tbody><tr><td>200</td><td><strong>OK</strong></td><td>Request succeeded. Response included</td></tr><tr><td>201</td><td><strong>Created</strong></td><td>Request created</td></tr><tr><td>204</td><td><strong>No Content</strong></td><td>Request succeeded, but no response body</td></tr></tbody></table>

Inside each response upon status code is 200 **OK**, the breakdown for each error happen on processing point will be as followed

<table><thead><tr><th width="174">Error Codes</th><th>Description</th></tr></thead><tbody><tr><td>401</td><td>Unauthorized</td></tr><tr><td>403</td><td>Invalid UUID</td></tr><tr><td>425</td><td>Invoice already exists</td></tr><tr><td>404</td><td>Not Found</td></tr><tr><td>500</td><td>Internal Server Error Occur</td></tr><tr><td>6666</td><td>Invalid JWT Token</td></tr><tr><td>7777</td><td>JWT Token Expired</td></tr><tr><td>9100</td><td>Service Is Not Available Right Now</td></tr><tr><td>10018</td><td>Payment Service Not Active</td></tr><tr><td>10041</td><td>Payment Service ID Not Active</td></tr><tr><td>10201</td><td>Unauthorized Due To Permission</td></tr><tr><td>10149</td><td><p>Duplicate Payout Transaction  <br><br>System has prevention of withdrawal/payout duplication transaction within 3 hours if<br></p><p>a. amount <br>b. account_no <br>c. recipient_reference</p><p><br>are similar.</p></td></tr></tbody></table>
