# Open API Code prompt code list

  • General Open API general prompt code | returned in real time)

  • example response

{
    "code":21000,
    "message":"Service error, please contact administrator",
    "data":null
}
#

# Common api response code

Response Code Innner Message Message
10000 SUCCESS Success
20000 FAILED Failed
21000 OPI_GENERAL_ERROR Service error, please contact administrator
21001 OPI_SIGN_ERROR Request sign error
21002 OPI_PARAM_ERROR param error
21003 OPI_APPID_ERROR Request appId error
21004 OPI_MCH_ERROR Merchant info unavailable error
21005 OPI_STORE_KEY_ERROR Store key error
21006 OPI_STORE _KEY_DOES_NOT_EXIST Store key or appId does not exist
21007 OPI_ORDER_ERROR Food order error
21008 OPI_ORDER_PAYMENT Payment error
21009 OPI_STORE_ERROR Store info error
21010 OPI_PAYMENT_CHANNEL_ERROR Payment channel error
21011 OPI_PRINT_ERROR Order print error
#