Skip to main content
The BrandWallet API uses standard HTTP status codes, and every error response carries the same JSON envelope with a stable, machine-readable token in message. Match on the token in your integration code — tokens do not change between API releases. Error envelope:
Token naming: auth and infrastructure tokens are underscore-prefixed (_invalid_credentials, _jwt_expired); domain tokens on the /v1 endpoints are plain (customer_not_found, invalid_campaign). Always match the exact string.

Auth tokens

List / filter tokens

Customer tokens

Transaction & coupon tokens

Rollback tokens

Product & category tokens

Server errors

Validation errors on request bodies return 400 with the individual field messages joined in the message field (e.g. campaignId must be a string / campaignId should not be empty). 2xx codes indicate success; 4xx codes indicate a request error — inspect the message token and fix the request before retrying; 5xx codes indicate a server-side error — retry briefly and contact BrandWallet at dev@brand-wallet.com if the condition persists.
Last modified on October 8, 2026