When integrating with WUPEX, it’s crucial to handle common error scenarios correctly. A well-structured approach ensures a reliable user experience and simplifies troubleshooting.
All error responses follow this JSON pattern:
{
"status": false,
"error": {
"code": "ERROR_CODE",
"message": "Descriptive message to help fix the issue"
}
}
4xx Client Errors
x-api-key: YOUR_API_KEY Accept-Language: en-US
[
{
"merchant": "YourMerchantCode",
"sku": "APPLE-USA-2USD",
"quantity": 1
}
]
POST /api/order/pull-codes
POST /api/product/merchant/invited/list Content-Type: application/json
[
{
"merchant": "YourMerchantCode",
"sku": "APPLE-USA-2USD",
"quantity": 1
}
]
GET /api/order/detail?orderName=A00000000000001
GET /api/customer/balance
{
"balance": 5000.00,
"credit": 0.00,
"creditBalance": 5000.00
}
Say goodbye to delays, fraud, and complex setups—our solution is built for speed and trust.
Copyright © 2024 WUPEX | All Rights Reserved.
Copyright © 2024 WUPEX | All Rights Reserved.