Sending limit and payment errors
Every error uses { "error": { "code", "message", "details", "hint" } }. Codes are stable; detail fields are additive.
Daily limit reached
HTTP 402, plan_limit_reached, details.window = "daily". Includes limit, usage, dailyCapacity, burstCapacity and passAvailable. A pass adds 1,000 submissions for the rest of the UTC day only.
Monthly allowance exhausted
HTTP 402, plan_limit_reached, details.window = "billing_period". If credits cover the overage the send succeeds and the overage is debited; if not, creditsExhausted: true and creditUnitsRequired are returned.
Account suspended
HTTP 403, organization_suspended or organization_abuse_paused. No plan, credit balance or burst pass can override this state.
Payment errors
usd_not_enabled— the merchant account cannot take USD; Calder refuses rather than converting currency.payments_unavailable— payments are not configured in this environment.payment_pending— Paystack has not confirmed the charge yet.payment_failed— the charge failed; nothing was granted.invalid_signature— a webhook did not carry a valid HMAC-SHA512 signature.
See the repository docs/API-LIMITS.md for exact JSON examples.