Response Code¶
Laos APIs
Introduction 路 Response Code 路 Checkout 路 Check Deposit Status 路 Deposit WayCode 路 Check Balance 路 Webhook
Brief Description¶
Key Notes
codeindicates whether the API request itself was processed successfully.statusindicates the business transaction result and should be used for final merchant logic.- If a transaction remains in processing, use the query APIs or webhook notifications to determine the final outcome.
1. API Request Status (code)¶
| Code | Description and Recommended Action |
|---|---|
0000 |
Request accepted successfully. Continue judging the final result using data.status. |
5000 |
Platform exception. Do not mark the order as failed immediately. Keep it in processing and confirm with support or a later query. |
8000 |
Request rejected, usually because of parameter or business rule validation. The order can normally be handled as failed. |
2. Transaction Status (status)¶
| Status | Description |
|---|---|
0000 |
Transaction successful |
0001 |
Partially successful |
0015 |
Transaction processing |
00029 |
Transaction failed |
3. Critical Scenarios¶
| Scenario | Key Judgment | Recommended Action |
|---|---|---|
Checkout API returns code=8000 |
The request itself failed | Mark the request as failed after validating the submitted parameters |
Checkout API returns code=5000 |
The platform could not confirm the result immediately | Keep the order in processing and query again later |
Query API returns code=8000 |
Only the query request failed | Do not use this alone to decide the transaction failed |