TuagoDevelopers

Reference

Errors

Every error shares one envelope shape and a stable code you can branch on, the message text may change, the code won't.

Error shape

→ 4xx/5xx
{
  "status": false,
  "message": "Human-readable, for logs/debugging",
  "code": "merchant_cap_exceeded",
  "meta": {}
}

Stable codes

CodeHTTPMeaning
validation_error422Request body failed validation.
unauthorized401Missing, invalid, or expired credentials.
not_found404The resource doesn't exist, or doesn't belong to this credential.
email_taken409An account/team member with this email already exists.
invalid_state409The resource isn't in a state that allows this action (e.g. refunding a non-SUCCESS charge).
session_expired410The checkout/payment session's expiry window has passed.
insufficient_tier403Your account role doesn't permit this action, or your KYC tier caps it.
kyc_required403Business KYC must be completed before this action (e.g. going live).
merchant_cap_exceeded403This charge would exceed your Starter-tier rolling collection cap. Upgrade to Registered to lift it.
idempotency_conflict409The same Idempotency-Key was reused with a different request body.
invalid_signature401Inbound webhook signature (bank or WhatsApp) didn't verify.
core_unavailable503The money-core service is temporarily unreachable. Safe to retry.
not_implemented501Feature not available yet on the current bank rail/tier (e.g. live card payments).