Skip to main content
This page covers the developer surface added by TeraWallet Pro. For the core plugin’s hooks and API, see the free Hooks Reference and REST API Reference.

Hooks

Each name below was verified against the Pro plugin source.

Example: cap the withdrawable amount

REST API

Pro adds endpoints under two namespaces. Verify exact routes/args against the plugin source before building against them.

Coupons — terawallet/v1/coupons

Full CRUD plus bulk create and code generation for wallet coupons. Used by the in-admin bulk generator and available for your own automation. Requires the appropriate management capability.

Importer — woo-wallet-pro/v1/import

Every import route requires manage_options (filterable via woo_wallet_rest_check_permissions), and sessions are pinned to the uploading user.

Withdrawal webhooks — terawallet/v1

Asynchronous payout webhooks for Stripe, PayPal, Razorpay, Cashfree and Paystack live under the terawallet/v1 namespace, with provider signature verification and replay protection. The Stripe endpoint is POST /wp-json/terawallet/v1/stripe/webhook (set the webhook secret in the gateway’s settings to enable it).