# API Code Collection
# Descrption
A collection of response codes returned by the PayCools Open API interface.
# Example
{
"code": 21000,
"message": "Server error, Please try again later."
}
# Collection
| Error Code | Inner Error Code | Message |
|---|---|---|
| 10000 | SUCCESS | Success |
| 21000 | OPI_GENERAL_ERROR | Server error, Please try again later. |
| 21001 | OPI_SIGN_ERROR | Request sign error |
| 21002 | OPI_PARAM_ERROR | Request param error |
| 21003 | OPI_APPID_ERROR | Request appId error |
| 21004 | OPI_MCH_ERROR | Merchant is unavailable |
| 21005 | OPI_MCH_CHANNEL_UNAVAILABLE_ERROR | Merchant channel is unavailable |
| 21006 | OPI_MCH_TX_NOT_FOUND | Merchant transaction not found |
| 21007 | OPI_DUPLICATE_MCH_ORDER_ID | Duplicate merchant order id |
| 21008 | OPI_TIMESTAMP_ERROR | Request timestamp error |
| 21009 | OPI_TIMESTAMP_EXPIRED_ERROR | Request timestamp error |
| 21010 | OPI_AMOUNT_EXCEED_ERROR | The amount exceeds the limit |
| 21011 | OPI_NETWORK_ERROR | Network error |
| 21012 | OPI_BANK_CODE_ERROR | Request bank code error |
| 21013 | OPI_EWALLET_CODE_ERROR | Request wallet code error |
| 21014 | OPI_BALANCE_ERROR | Merchant balance insufficient |
| 21015 | OPI_DUPLICATE_IDEMPOTENCY_ID | Duplicate idempotencyId |
| 21016 | OPI_MCH_IP_ERROR | Merchant ip forbidden |