WavePayby T3raTech

API reference

Errors

Every error is JSON, `{ "error": { "code": "…" } }`, with the HTTP status below.

CodeHTTPMeaning
INVALID_AMOUNT400See the operation that returned it.
INVALID_CURRENCY400See the operation that returned it.
INVALID_OTP400See the operation that returned it.
INVALID_REQUEST400The request is malformed or a field is missing or not allowed.
PROMO_CODE_INVALID400See the operation that returned it.
PROOF_EXPIRED400See the operation that returned it.
SETTLEMENT_PROVIDER_UNSUPPORTED400That provider cannot be connected as your own account.
INVALID_DEVICE_PROOF401See the operation that returned it.
PROVIDER_SIGNATURE_INVALID401See the operation that returned it.
SERVICE_UNAUTHORIZED401The x-wavepay-service-key header is missing, wrong or revoked.
UNAUTHORIZED401Missing or wrong credentials.
CHARGE_DECLINED402See the operation that returned it.
CHECKOUT_ASSOCIATION_DENIED403See the operation that returned it.
FEATURE_DISABLED403See the operation that returned it.
LICENSE_REVOKED403See the operation that returned it.
LIVE_KEY_REQUIRED403A test key cannot do this; use your live key.
MERCHANT_SCOPE403Your key may not touch this resource (it belongs to another merchant, or the route needs the global key).
MERCHANT_SCOPE_REQUIRED403This route needs a merchant key, not the global key.
NOT_A_TEST_KEY403See the operation that returned it.
RESERVATION_ASSOCIATION_DENIED403See the operation that returned it.
ACTIVATION_NOT_FOUND404See the operation that returned it.
BNPL_NOT_FOUND404See the operation that returned it.
COUPON_NOT_FOUND404See the operation that returned it.
KEY_NOT_FOUND404See the operation that returned it.
LICENSE_NOT_FOUND404See the operation that returned it.
MERCHANT_NOT_FOUND404See the operation that returned it.
PAYMENT_NOT_FOUND404See the operation that returned it.
PLAN_NOT_FOUND404See the operation that returned it.
PRODUCT_NOT_FOUND404See the operation that returned it.
PROMOTION_NOT_FOUND404See the operation that returned it.
RECOVERY_NOT_FOUND404See the operation that returned it.
SITE_NOT_FOUND404See the operation that returned it.
SUBSCRIPTION_NOT_FOUND404See the operation that returned it.
UNKNOWN_CHECKOUT404See the operation that returned it.
UNKNOWN_LICENSE404See the operation that returned it.
COLLECTION_NOT_SUPPORTED409See the operation that returned it.
COUPON_ALREADY_REDEEMED409See the operation that returned it.
COUPON_NOT_REDEEMABLE409See the operation that returned it.
ENTITLEMENT_UNAVAILABLE409See the operation that returned it.
IDEMPOTENCY_CONFLICT409The same Idempotency-Key was used with a different request.
LICENSE_ACTIVATION_LIMIT_REACHED409See the operation that returned it.
LICENSE_NOT_READY409See the operation that returned it.
LICENSING_DISABLED409See the operation that returned it.
MERCHANT_ALREADY_REGISTERED409That owner email already has a merchant.
NO_CONTACT409See the operation that returned it.
NOT_A_TEST_PAYMENT409See the operation that returned it.
OTP_UNSUPPORTED409See the operation that returned it.
PAYMENT_NOT_APPROVED409See the operation that returned it.
PAYMENT_NOT_READY409See the operation that returned it.
PAYMENT_NOT_REFUNDABLE409See the operation that returned it.
PAYMENT_REPLAY409See the operation that returned it.
PLAN_NOT_RECURRING409See the operation that returned it.
PROMO_CODE_EXHAUSTED409See the operation that returned it.
PROMO_CODE_REVOKED409See the operation that returned it.
PROMOTION_NOT_ACTIVE409See the operation that returned it.
PROVIDER_DISABLED409That provider is not enabled on this deployment, or the merchant's account for it cannot be used.
REFUND_EXCEEDS_PAYMENT409See the operation that returned it.
REFUND_REFUSED409See the operation that returned it.
REFUND_UNSUPPORTED409See the operation that returned it.
RESERVATION_STATE_CONFLICT409See the operation that returned it.
RESERVATION_UNAVAILABLE409See the operation that returned it.
SUBSCRIPTION_NOT_ACTIVE409See the operation that returned it.
TRANSFER_ALREADY_USED409That transaction already settled a payment.
CREDENTIALS_REJECTED422The provider refused the credentials you connected.
ENVIRONMENT_MISMATCH422Sandbox credentials on a live deployment, or the reverse.
PAYMENT_MISMATCH422The payment, amount or address does not match what was asked for.
MERCHANT_LIMIT_REACHED429The Free plan's monthly allowance is used. Paid plans are never refused: they are charged by usage.
RATE_LIMITED429Too many requests; wait and retry.
PROVIDER_AUTH_FAILED502See the operation that returned it.
PROVIDER_RESPONSE_INVALID502See the operation that returned it.
PROVIDER_UNAVAILABLE502The provider could not be reached; retry.
CONFIGURATION_ERROR503See the operation that returned it.
CRYPTO_BUSY503Every payable amount for that coin is taken by open payments; retry shortly.
RATE_UNAVAILABLE503No crypto price newer than ten minutes for that coin; retry shortly.
SETTLEMENT_ACCOUNT_UNUSABLE503Your connected account's credentials stopped working; reconnect it. The payment is refused, never paid to anyone else.