How to migrate from DePay to CoinStack
Migrating from DePay to CoinStack means replacing every DePay payment link, button and widget with a CoinStack checkout, a hosted page where the customer picks a token and network and sends the payment to an address. DePay's services stop on December 31, 2026. On DePay's Standard plan the fee goes from 1.5% to 0.8%. Customers send to an address instead of connecting a wallet, and every payment settles as USDC on the network you choose, to a wallet you control.
What has DePay told merchants?
DePay's website now shows a single notice: "DePay services will be permanently discontinued on December 31, 2026." Its instruction to merchants is one sentence: "Any websites, applications, or integrations relying on DePay should transition to an alternative solution before this date." The notice gives no reason, names no successor and offers no migration tool. It does not say whether the open-source widgets or the payment contracts will keep working once DePay's servers stop, so plan as if nothing will.
In early December 2026 the merchant app at app.depay.com still loaded, the WooCommerce plugin was still listed on WordPress.org, and the Shopify listing read "This app is not currently available on the Shopify App Store." The documentation is gone from depay.com, but its source is still on GitHub, and the DePay details below come from there. The timeline is covered in DePay is shutting down: what to do.
How do DePay products map to CoinStack?
The third column says what works differently after the move.
| DePay | CoinStack | What changes |
|---|---|---|
Payment Link, a no-code page at link.depay.com | A checkout created by hand in the dashboard and shared as a link | Each checkout is one payment request, made for a known amount and customer |
| Payment Button, an HTML snippet that opens the widget | Your own button, which asks your server to create a checkout and sends the customer to its url | The button is plain HTML on your page, and the API key stays on your server |
Payment Widget (@depay/widgets) inside your page | The hosted checkout page, or your own interface built on quotes | The customer sends to an address from any wallet or exchange |
Callback signed with x-signature | checkout.completed webhook signed with CoinStack-Signature | The signature scheme and the body differ |
Events: attempt, processing, failed, succeeded | checkout.confirming, checkout.partial, checkout.completed, checkout.expired | Nothing is sent until a payment is detected or the checkout expires |
payload passed through to the callback | reference and metadata on the checkout | Metadata values must be strings |
Redirect after payment, forward_to | success_url and cancel_url | The completed checkout page shows a Return to merchant button that links to success_url |
| WooCommerce plugin | CoinStack for WooCommerce | The checkout moves to a hosted CoinStack page |
How do you replace a DePay payment link without code?
A DePay Payment Link was configured once and could be paid by any number of customers. Its documentation covers pricing in fiat or in tokens, adjustable quantity, VAT display, collecting a name, email or address, and content shown only after payment.
The CoinStack equivalent is a checkout created by hand. In the dashboard you create a checkout with an amount and a currency, optionally add the customer's email, a reference, a description and return links, then send the customer its link. The amount can be in any of 146 currencies and is converted to US dollars when the checkout is created. A checkout made in the dashboard stays open for 24 hours. Through the API you can set anything from 10 minutes to 365 days.
That fits invoices and one-off sales to a customer you know. For a "Buy" link on a page that many people pay, the server route in the next section creates a fresh checkout for each customer. The dashboard route is described in crypto payment links.
How do you replace a button or widget with server code?
Start by finding every integration. Search your code and templates for DePayButton, DePayWidgets, integrate.depay.com and link.depay.com.
DePay's button and widget ran in the browser and usually read the price from an integration configured in the DePay app. The CoinStack version runs on your server, because the API key must stay there. The button becomes an ordinary form that posts to a route like this one, in Node.js with Express. createOrder and saveCheckoutId stand for your own code.
app.post("/pay", async (request, response) => {
const order = await createOrder(request);
const result = await fetch("https://coinstack.net/api/v1/checkouts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.COINSTACK_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
amount: "25.00",
currency: "USD",
reference: String(order.id),
success_url: "https://example.com/orders/thanks",
cancel_url: "https://example.com/cart",
}),
});
const body = await result.json();
if (!body.success) {
return response.status(502).send(body.response);
}
await saveCheckoutId(order.id, body.response.checkout.checkout_id);
response.redirect(303, body.response.checkout.url);
});The url in the response is the hosted checkout page. reference and metadata come back in every webhook event, which replaces DePay's payload. The quickstart has the same call in cURL, Python and PHP. If keeping the customer on your own page matters more than a fast migration, the API can return the address, amount and QR code for your own interface, as shown in build your own crypto checkout UI with quotes.
Swap the callback for a webhook
| DePay callback | CoinStack webhook | |
|---|---|---|
| Sent when | A payment succeeded and was validated | checkout.completed: the checkout was paid in full |
| Header | x-signature | CoinStack-Signature: t=...,v1=... |
| Scheme | RSA-PSS with SHA256, checked with a public key | HMAC-SHA256 of t.body, keyed with your signing secret |
| Retries | 25 over about 21 days | 8 over about a day, then resend from the dashboard |
| Your own data | payload | data.checkout.reference and data.checkout.metadata |
| Effect on the customer | The widget waits for your 200 before it releases the user | None. The checkout page completes on its own |
The last row changes how you build the thank-you page. DePay's widget documentation warns that "Callbacks control the payment flow", so a customer never reached your success page before your server had answered. A CoinStack customer can follow success_url before your webhook handler has run, or close the page without following it. Read the order's status on that page and fulfil only from the webhook.
Verification is a few lines:
import crypto from "node:crypto";
function verify(header, body, secret) {
const parts = Object.fromEntries(
String(header).split(",").map((part) => part.split("=")),
);
const expected = Buffer.from(
crypto.createHmac("sha256", secret).update(`${parts.t}.${body}`).digest("hex"),
);
const given = Buffer.from(String(parts.v1));
return (
given.length === expected.length &&
crypto.timingSafeEqual(given, expected) &&
Math.abs(Date.now() / 1000 - Number(parts.t)) <= 300
);
}Pass the raw request body as it arrived, and the whole signing secret including its whsec_ prefix. Answer with a 2xx status within 10 seconds, and store each event_id so a retried event is not fulfilled twice. The webhooks guide has complete handlers, and how to verify payment webhooks explains each step.
What changes for your customers?
There is no wallet to connect. DePay's wallet list names MetaMask, Coinbase Wallet, Phantom, World App and others, plus WalletConnect and Solana Pay, and it does not describe a flow where the customer copies an address and sends by hand. On a CoinStack checkout the customer picks a token and network, then sees an address, the exact amount and a QR code. They can send from any wallet or straight from an exchange account, which a wallet-connect flow cannot serve. The two models are compared in wallet-connect checkouts vs pay-by-address checkouts.
The payment happens on a hosted page. DePay's WooCommerce listing advertised "No gateway, no redirect". With CoinStack the customer pays on a hosted checkout page and returns to your site afterwards, unless you build your own interface with the custom checkout calls.
Amounts are handled differently. With DePay, the customer's wallet was handed a prepared transaction. CoinStack completes a checkout that is short by up to 0.5% by default, keeps a larger shortfall open as partial so the customer can send the rest to the same address, and flags anything more than 2% over as overpaid. The cases are set out in underpaid crypto payments.
Which tokens and networks carry over?
DePay accepted any standard token with a liquid pair on a supported decentralized exchange, with at least $20,000 in the pool according to its token requirements, on 10 networks. CoinStack accepts 10 tokens on 11 networks.
| Network | DePay | CoinStack accepts |
|---|---|---|
| Ethereum | Yes | ETH, USDC, USDT, PYUSD, USDG |
| Base | Yes | ETH, USDC, USDT |
| Arbitrum | Yes | ETH, USDC, USDT |
| Optimism | Yes | ETH, USDC, USDT |
| Polygon | Yes | USDC, USDT |
| BNB Smart Chain | Yes | BNB, USDC, USDT |
| Avalanche | Yes | USDC |
| Solana | Yes | SOL, USDC, USDT, PYUSD, USDG |
| Bitcoin | No | BTC |
| TRON | No | TRX, USDT |
| HyperEVM | No | HYPE, USDC |
Bitcoin and TRON are new: customers who hold BTC, or USDT on TRON, could not pay a DePay checkout with them and can pay a CoinStack one. Which of these appear at checkout is your choice in Settings.
What do you receive, and what does it cost?
With DePay you entered a receiving wallet address for every token you accepted, and payments arrived there in that token. With CoinStack there is one settlement address for everything. A wallet that you control is created with your merchant account, and every payment is converted to USDC and settled on the network you choose, to that wallet or to another address you name, whatever the customer paid with. CoinStack does not hold your funds, and the account owner can withdraw from the dashboard to any supported token and network.
DePay's Standard plan was "1.5% Flat" on its pricing page, archived August 30, 2026, and DePay confirmed on WordPress.org that the fee "is automatically deducted from each payment you receive". CoinStack charges 0.8%, also taken from the payment. On a $50 order that is 40 cents in place of 75 cents. On $10,000 a month it is $80 in place of $150.
Other tools DePay merchants look at
DePay alternatives describes other kinds of tool. For stores on Shopify, Shopify's own help page lists the crypto providers it allows, covered in crypto payments on Shopify.
A migration order that fits before December 31
- Create an account. Instant sign-up takes an email code or a Google account, and the wallet is created with the account.
- In Settings, choose the tokens and networks to offer, who covers network cost on each network, and the underpayment allowance.
- Under Developers, create an API key with read and write access and add a webhook for
checkout.completed. - Replace each link, button and widget you found, one page at a time.
- Pay a real checkout. The demo checkout shows the page without paying.
- Remove DePay's scripts from your pages once the new flow has taken a live payment.
- Before December 31, save your payment history from the DePay app. The archived pricing page lists CSV exports under the Pro plan, and DePay has not said what happens to dashboard data afterward. Your wallet's on-chain history is the fallback record.
WooCommerce stores have a shorter path, covered in replacing DePay Payments for WooCommerce.
Frequently asked questions
Will DePay payment links and buttons still work after December 31, 2026?
Assume they will not. DePay's notice says its services "will stop operating on December 31, 2026" and tells merchants to move integrations before that date. It gives no per-product dates and does not say whether links, buttons or the hosted scripts will keep loading, so treat every DePay link, button and widget as dead from January 1, 2027.
Do customers need to connect a wallet to pay a CoinStack checkout?
No. The customer chooses a token and network on the checkout page and is shown an address, the exact amount and a QR code. They send the payment from any wallet or directly from an exchange account. Customers who liked DePay's connected-wallet flow will need to scan the QR code or copy the address.
What do I receive when a customer pays in ETH or SOL?
USDC. Whatever the customer paid with, every CoinStack payment is converted to USDC and settled on your chosen network, to the wallet created for your account or to an address you name, such as an exchange deposit address. A price you set in dollars or euros is what you keep, less the 0.8% fee. From the dashboard you can also withdraw to any supported token and network, such as USDT on TRON.
Do I need to withdraw funds from DePay before it closes?
DePay's documentation describes payments as "peer-to-peer and non-custodial", sent directly into the wallet address you configured, so there should be no balance held by DePay to withdraw. What you can lose is the record. Export your payment history from the DePay app while it still loads.
How do I test the new integration before switching?
Use a small real payment. Create a checkout for $1, the smallest checkout value, pay it with a stablecoin on a low-cost network such as Base, and use Send test on the webhook in the dashboard to check that your handler accepts a signed event. Keep DePay live on the page until that payment has completed.