Integrar

Take payments straight into your own wallet

Forwarding addresses: one standing deposit address per destination, any amount, any number of times, settled on-chain to a wallet you control.

5 passos3 min de leituraforwardingstablecoinsevm
Etapa 11 de 5

What a forwarding address is

A forwarding address is a standing deposit address bound to a wallet you already control. Anything paid to it — any amount, any number of times — is detected, credited, and forwarded on-chain automatically, minus your fee.

There is no fixed amount and no hosted checkout. Compared to invoices: an invoice fixes an amount at creation, sweeps to your payout address, and gives you a checkout_url; a forward takes any amount, lands in your own destination wallet, and leaves the UI to you. The address is permanent except on the single-session coins (LTC, DOGE, BCH, ZEC and XMR).

Etapa 22 de 5

Pick a ticker

A ticker is an asset plus a chain. List the full matrix:

curl https://receivify.io/api/v1/tickers

A bare symbol (eth, usdc, sol, trx) resolves to that asset's default chain; add a suffix for anything else — usdc_base, usdc_polygon, eth_arbitrum, usdc_solana, usdt_tron. btc and the other node-settled coins (ltc, doge, bch, zec, xmr) take no suffix at all.

Get it wrong and the error tries to help rather than just refusing:

json
{ "error": "bad_ticker", "detail": "Unknown ticker \"usdcbase\". Did you mean: usdc_base?" }
Etapa 33 de 5

Create the address

A plain GET is enough:

curl -H "Authorization: Bearer rcv_live_…" \
  "https://receivify.io/api/v1/address/create?ticker=usdc_base&destination=0xYourWallet&callback=https://you.example.com/hook"

Or the same thing as JSON via POST /api/v1/address with { "ticker": "usdc_base", "destination": "0xYourWallet", "callback": "https://you.example.com/hook" }.

Aliases are accepted, so muscle memory from other gateways works: address/to/payout_address for destination, coin/currency/asset for ticker, callback_url/webhook/webhook_url/url for callback, confs for confirmations.

Creating is deterministic. A forward's identity is (ticker, destination, callback_url): call create twice with the same three and you get the same id and the same address back with 200 instead of 201. Retries and double-fired requests cannot leave you holding two addresses for one integration.

Etapa 44 de 5

Handle the callbacks

Six events cover the life of a payment, all signed with the same x-receivify-signature scheme as invoice webhooks:

  • forward.detected — seen on-chain, not yet confirmed. The only event with data.pending: true; nothing is credited.
  • forward.confirmed — the deposit reached its confirmation threshold and was credited.
  • forward.deferred — credited, but not going out yet. data.reason says why (gate_disabled, uneconomical, below_minimum, insufficient_funds, …). Fires on entering the state and again only if the reason changes — never once per poll.
  • forward.sent — the net amount was broadcast to your destination.
  • forward.reversed — a credit was undone: reorg or rbf. Handle this one; it retracts money you were already told you had.
  • forward.failed — held for manual review. Your funds stay credited.

There is no forward.partial: a forwarding address has no expected amount, so it cannot be underpaid. Too-small money is a forward.deferred, not a partial payment.

The envelope is identical to the invoice one — { event, sequence, created_at, data } — so a single receiver parses both. De-duplicate on (event, data.forward_id, sequence) and ignore any sequence lower than one you have already applied.

Etapa 55 de 5

Pause, inspect, retire

  • GET /api/v1/address — your forwards, filterable by ?status=active|paused|disabled|expired, ?ticker=, with ?limit= and ?cursor= keyset pagination.
  • GET /api/v1/address/:id — one forward plus its payments and its callback delivery log.
  • PATCH /api/v1/address/:id — pause or resume (status: active | paused), or change callback_url.

Pause is the kill switch. If a key leaks, pausing stops new deposits being accepted on that address while you rotate — which is why paused is a first-class status rather than a soft delete.

Algo aqui está errado ou desatualizado? Avise-nos — e confira a referência da API, que é gerada a partir da especificação e sempre prevalece.