Skip to main content

Error & Warning Dictionary

Reference for all error codes and warnings returned by the WickiePay API.

HTTP Status Codes

CodeMeaning
200Success
201Created
400Bad Request — Invalid parameters
401Unauthorized — Invalid or missing authentication
403Forbidden — Insufficient permissions
404Not Found — Resource doesn't exist
409Conflict — Resource already exists or state conflict
422Unprocessable — Valid format but invalid content
429Too Many Requests — Rate limit exceeded
500Internal Server Error

Error Response Format

{
"error": {
"code": "PAYMENT_EXPIRED",
"message": "The payment has expired and can no longer be processed",
"details": {
"paymentId": "pay-uuid-123",
"expiredAt": "2026-01-15T10:30:00Z"
}
}
}

Payment Errors

CodeDescriptionResolution
PAYMENT_EXPIREDPayment expired before receiving fundsCreate a new payment
PAYMENT_UNDERPAIDInsufficient amount receivedAccept partial or wait for remainder
PAYMENT_NOT_FOUNDPayment UUID doesn't existVerify the UUID
PAYMENT_ALREADY_COMPLETEAttempting to modify a completed paymentNo action needed
PAYMENT_CANCELLEDPayment was already cancelledCreate a new payment
INVALID_AMOUNTAmount is zero, negative, or exceeds limitsCheck amount value
INVALID_CURRENCYCurrency code not supportedSee Supported Assets
INVALID_REFERENCEReference is missing or duplicateProvide a unique reference

Authentication Errors

CodeDescriptionResolution
INVALID_SIGNATURERequest signature verification failedCheck key pair and signing logic
EXPIRED_SIGNATURESignature timestamp too oldSync server clock (NTP)
INVALID_CLIENT_IDClient ID not recognizedVerify API key registration
IP_NOT_WHITELISTEDRequest from non-whitelisted IPUpdate IP whitelist in portal
INSUFFICIENT_PERMISSIONSAPI key lacks required roleCheck role assignments

Channel Errors

CodeDescriptionResolution
CHANNEL_NOT_FOUNDChannel UUID doesn't existVerify the UUID
CHANNEL_INACTIVEChannel is disabledReactivate in portal
INVALID_CHANNEL_CONFIGInvalid channel configurationCheck currency and settings

Compliance Errors

CodeDescriptionResolution
SCREENING_BLOCKEDTransaction blocked by compliance screeningContact compliance team
TRAVEL_RULE_REQUIREDMissing Travel Rule informationProvide complianceDetails
KYC_REQUIREDCustomer KYC verification neededComplete KYC process

Rate Limiting

EndpointLimit
Payment creation100 requests/minute
Payment queries500 requests/minute
Rate queries1000 requests/minute
Webhook management50 requests/minute

When rate limited, the response includes:

HTTP/1.1 429 Too Many Requests
Retry-After: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1705315500