TreasuryWireAPI docsSign inGet API keys

Provider webhooks

Deposits arrive from your payment provider, not from your code. Register TreasuryWire's webhook URL with the provider once, and every deposit into a customer's virtual account credits their wallet automatically.

Set it up

  1. In the back office, open Settings › Payment providers and connect your Flutterwave, Providus, Paystack or Rolla Pay account.
  2. Copy the webhook URL shown for that account.
  3. Paste it into the webhook settings of your provider's dashboard, with the secret hash you chose.

Each connected provider account has its own URL and its own secret. TreasuryWire verifies every delivery against that secret and rejects anything that doesn't match with 401.

Knowing a deposit arrived

TreasuryWire doesn't forward provider events to your server. To react to a deposit, read the wallet's balance or its transaction history. A credit line of type collection is a deposit. Poll after you tell the customer to pay, or after your own provider-side callback.