To move a crypto payment webhook, prepare the new receiver before changing the registered URL, preserve payment-processing history and reconcile the transition before retiring the old route. A working homepage on the new domain does not prove that payment notifications reach your application.
This guide is for merchants moving an application, domain or payment receiver, including businesses accepting USDC or USDT where available. It covers a planned change, not a provider switch or a new payment method. For an unplanned interruption, use the payment outage runbook.
Separate the receiver move from the payment decision
A migration changes where a notification arrives. It should not change which order a payment belongs to, what counts as confirmed or whether that order has already been delivered.
Keep the existing order-to-payment bindings, accepted event history and fulfillment records available to the new service. If both services can receive traffic, give them a shared durable decision path or a coordinated handover. Two independent databases that each believe an event is new are not duplicate protection.
Use the webhook idempotency guide for the underlying processing rules. The migration-specific question is whether those rules still hold when a retry reaches a different deployment.
Record the current configuration before changing it
Make a small change record with an owner, a rollback decision and the intended cutover time. Do not include signing secrets, API credentials or full customer payloads.
| Record | What to confirm |
|---|---|
| Registered destination | Exact scheme, hostname, path and trailing slash |
| Endpoint identity | Existing endpoint reference, adapter and enabled state |
| Routing | DNS, TLS certificate, proxy and firewall ownership |
| Verification | Which protected secret the receiver uses |
| Durable processing | Queue, event deduplication and fulfillment history |
| Recovery | How to identify payments affected by the transition |
Prefer changing one variable at a time. Avoid combining a URL move, secret rotation, adapter change and rewritten fulfillment logic into one release. If a security incident requires several changes together, document each dependency and rehearse that combined procedure separately.
Prepare the final URL, not a browser redirect
Deploy the new route with valid HTTPS and the intended POST handling. Check proxy and framework rules for hostname normalization, trailing slashes, language prefixes, sign-in redirects and maintenance pages. A page that opens in a browser is not an endpoint delivery test.
Yolfi's webhook documentation says redirects are not followed and the configured destination must be public. Register the final receiver directly. A 301 or 308 from the old address is not a migration bridge. Stripe's webhook guide also treats redirect responses as delivery failures; do not assume behavior from ordinary web navigation applies to payment notifications.
If you keep the public URL unchanged and move only its upstream service, review the reverse proxy and DNS transition instead. Both the old and new application may receive requests during the move. Keep verification and durable processing consistent across them rather than treating a DNS change as an instantaneous handover.
Keep signing configuration tied to the endpoint
Yolfi uses endpoint-specific signing secrets, not the organization API key, to verify deliveries. Creating an endpoint returns its secret; listing or updating an endpoint does not reveal it. Keep the existing endpoint identity distinct from a newly created replacement.
For a URL-only move, provision the correct existing secret to the new receiver through your protected deployment process. Do not rotate it merely because a hostname changed. If you deliberately create another endpoint, configure its own returned secret instead of copying the first endpoint's verification assumptions.
Keep the adapter unchanged unless changing payload formats is part of the reviewed plan. Reject unverifiable requests; do not temporarily turn verification off to make a migration look healthy. Log a sanitized failure category and endpoint reference, not secret material or complete authorization headers.
Test transport and business handling separately
Yolfi dashboard test events use the normal delivery path but contain livemode: false and an evt_test_ identifier. They do not create real invoices or payments. Use them to check delivery and signature handling, not to prove that a real purchase was fulfilled.
Keep test events out of live delivery actions. In a controlled environment, use synthetic orders to exercise the application decisions below without shipping goods, issuing real credits or emailing customers.
| Check | Required result |
|---|---|
| Valid test delivery to the final route | Signature accepted and expected acknowledgement returned |
| Invalid signature | No accepted payment or fulfillment work |
| Same verified event reaches both receivers | One durable business action |
| New receiver restarts after accepting work | Accepted work remains recoverable |
| Old route receives a delayed request | Same verification and duplicate protection still apply |
| Payment is confirmed but delivery outcome is unknown | Review, not an automatic second delivery |
A successful HTTP response is not proof that a license, shipment or entitlement was recorded. Check the durable work record and its eventual result. Design acknowledgement to follow verified, durable acceptance rather than merely receiving bytes.
Cut over without cancelling the evidence you need
At the planned time, update the registered receiver URL and record the actual configuration. Use the documented endpoint update mechanism when retaining the endpoint; do not create another registration merely because it is easier to find a create button.
Do not use disable-and-enable as a pause-and-replay strategy. Yolfi documents that disabling an endpoint cancels pending deliveries; re-enabling receives only new events, and an in-flight request can still arrive. Treat that as a different operation from changing a URL.
Keep the old receiver operational while investigating outstanding attempts. Do not invent a universal retirement delay or assume that queued deliveries automatically move to the new address: confirm the current provider behavior and inspect the affected records. A quiet old route alone does not prove that every payment reached the new one.
If new deliveries fail, stop unrelated deployment changes and compare the exact registered URL, signature configuration and ingress response. Yolfi treats most 4xx responses and redirects as permanent failures, so fixing the receiver is not evidence that an earlier failed delivery was replayed. Use the payment reconciliation checklist to identify and resolve the gap.
Close the transition by reconciling orders
Define the affected interval from the first routing or configuration change through verified stable processing. Compare confirmed payments, accepted events, queued work and fulfillment outcomes for that interval. Investigate missing matches individually rather than asking all affected customers to pay again.
Keep the closure record compact:
- The final registered destination and endpoint reference.
- The deployment and configuration-change times.
- Verified receipt and processing evidence at the new receiver.
- Outstanding old-route work and its resolution.
- Orders held for review, with an assigned owner.
- The reason it is safe to retire the old service.
Retain the processing history needed for duplicate protection after shutting down the old application. Archive only the operational evidence you need, with appropriate access restrictions; the payment privacy guide covers the wider customer-data trail.
FAQ
Can I redirect the old webhook URL to the new domain?
Not for Yolfi webhook delivery. Configure the final public receiver URL directly and test that route. Keep browser-facing redirects separate from the server-to-server notification path.
Should I create a second endpoint for the migration?
Not automatically. Start by identifying the existing registration and deciding whether a URL update is sufficient. A second endpoint needs its own signing configuration and coordinated duplicate protection; it is not a substitute for a cutover plan.
Does a successful test event prove that payments are working?
It proves only the checks you actually observed, such as transport and verification. Test business processing separately, then reconcile the real transition interval. Never deliver an order just because a dashboard test reached the receiver.
Can I roll back by restoring the old application?
Only if it can access the current processing history and safely handle work accepted since cutover. Restoring stale data can repeat actions. Use the payment database recovery guide if rollback involves a backup restore.
Conclusion: move the route, preserve the decisions
A safe migration keeps verification, payment-to-order mapping and fulfillment history intact while the receiver changes. Prepare and test the final URL, record the cutover, reconcile the affected orders and retire the old route only after resolving its outstanding work. For the integration entry point, see Yolfi's developer tools; moving a receiver should not require replacing your existing order logic.
