Blog

Getting started with CoinStack in 15 minutes

CoinStackUpdated 12 min read
Product

Getting started with CoinStack takes about 15 minutes. Sign in with an email code or Google, name your merchant account, create one API key, then connect a plugin or create a checkout by hand and pay it. The smallest checkout is $1, and it settles as USDC in a wallet you control.

What the 15 minutes covers, and what it assumes

StepWhereWhat you end with
1. Sign in and name the accountThe Sign in pageA merchant account, its wallet and the Owner role
2. Look aroundThe dashboardYou know where the balance, checkouts and settings are
3. Create an API keyDevelopersOne sk_ key (skip this if you will only send links)
4. Create a checkoutYour store's admin, the dashboard or the APIA checkout link
5. Pay itThe checkout pageA completed checkout and USDC in your wallet
6. WithdrawOverviewThe balance at an address you choose

The 15 minutes is a budget, and it rests on 3 assumptions. You have a wallet holding a few dollars of a supported token. If you use a plugin, you have admin access to the store or billing system, and its address starts with https://. And you are not writing code: a custom API integration with its own webhook handler is a longer job, covered in the API quickstart.

The budget also includes 2 waits you do not control. The WHMCS module "connects within a few minutes" after you save the key, according to its setup guide. And a payment usually takes seconds to a few minutes to complete, depending on the network you pay on.

Step 1: Sign in and create the merchant account

Open Sign in, enter your email address and select Continue. A 6-digit code arrives by email. Enter it and select Sign in. Continue with Google does the same job without the code. There is no password to set.

On a first visit the next screen is titled Merchant accounts. Type an account name, such as your business name, and select Create merchant account. That creates the account and its wallet, and makes you the Owner. This is Instant sign-up: there is no approval process or waiting list, and the account can start accepting payments right away.

Sign in with an address the business will keep. The owner is the only role that can withdraw, so the owner's mailbox should belong to a person and not to a shared inbox. One person can own several merchant accounts, and the same screen creates more, which suits a company that runs separate brands.

Step 2: Look around the dashboard

The dashboard has 7 pages in its sidebar.

PageWhat it shows
OverviewWallet balance in USDC, the amount settled, payments and completed checkouts for a period from 1 day to 1 year, a chart, recent activity, and the Withdraw and New checkout buttons
CheckoutsEvery checkout with its amount, status, description and creation time
PaymentsEvery transfer customers sent, with its value, status and network
DevelopersAPI keys, webhooks and recent events
TeamPeople, their roles and the invitation form
ActivityA log of changes to the account
SettingsAccount name, contact email, two-factor authentication, the wallet address (owner only), checkout layout, payment methods, network cost and underpayment

On a new account the lists are empty and the balance is zero. The defaults are sensible for a first test. The checkout offers every token on every network. Customers cover the network cost on Bitcoin and TRON, and you cover it everywhere else. A payment that falls short by up to 0.5% still completes the checkout. You can change all 3 under Settings later.

Step 3: Create an API key

A plugin or your own code needs a key. If you only plan to create checkouts by hand, skip to step 4.

  1. Open Developers and select New API key.
  2. Give the key a name, such as the system that will use it, and leave Access on Read and write.
  3. Select Create key and copy the key. It starts with sk_.

The dialog warns that the key "will not be shown again", and it means it. If you lose a key, delete it and create another. An account can hold up to 10 keys, so give each system its own. The other access level, Read only, can list and read checkouts and payments but cannot create anything, which makes it the right choice for a reporting script and the wrong one for a plugin.

Step 4: Create your first checkout

There are 3 ways to do it. Pick the one that matches how you sell.

With a plugin

The 4 official plugins are free. The WooCommerce plugin is in the WordPress.org plugin directory, and the other 3 are downloads from the docs. Each one registers its own webhook, so the key is the only thing you paste.

PlatformInstallWhere the key goesHow you know it worked
WHMCS 8 or 9Copy the modules and includes folders into the WHMCS rootConfiguration > System Settings > Payment Gateways, after activating CoinStackThe Connection line in the gateway settings
WooCommerce 8.3 or newerPlugins > Add New Plugin, search for CoinStack for WooCommerce, then install and activateWooCommerce > Settings > Payments > CoinStack, with Enable CoinStack tickedThe settings page shows Connected
Blesta 6 or newerCopy the components folder into the Blesta rootSettings > Payment Gateways > Available, install Crypto (CoinStack)The settings save. If the gateway cannot connect they do not, and the page says why
PrestaShop 8 or 9Modules > Module Manager > Upload a moduleConfigureThe page shows Connected

WooCommerce also needs WordPress 6.5 and PHP 7.4 or newer. Once the plugin is connected, raise a $1 invoice or add a $1 test product, and choose the crypto option at your own checkout. The full walkthroughs are in the guides for WHMCS and WooCommerce.

By hand in the dashboard

Select New checkout on the Overview or Checkouts page. Enter an amount and pick one of 146 currencies. The optional fields are a customer email, a reference (your own order number), a description the customer will see, and 2 return links. Select Create checkout. The next page shows the checkout link with a copy button and an Open checkout button.

That link is the product. Paste it into an email, an invoice or a chat and the customer can pay from it. A checkout made this way stays open for 24 hours. Members, admins and the owner can create one. Creating a checkout by hand in the dashboard covers each field.

With the API

One request creates a checkout:

curl https://coinstack.net/api/v1/checkouts \
  -H "Authorization: Bearer $COINSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "1.00",
    "currency": "USD",
    "reference": "first-test"
  }'

The response holds the checkout, and its url field is the page to send the customer to. To learn that it was paid, add a webhook under Developers and handle the checkout.completed event, as the quickstart describes. A webhook added in the dashboard starts with the 5 checkout events switched on, and Send test shows whether your server accepted a sample event.

Step 5: Pay it with a small amount

Open the checkout link. Choose a token and a network you hold, for example USDC on Base, and select Continue. The page shows the exact amount under "Send exactly", a QR code, the address, the network name and a one-line warning such as "Send only USDC on Base to this address." Send the payment from your wallet. The page moves from "Waiting for payment" to "Confirming payment" to "Payment complete" by itself. If you want to see the page before spending anything, the demo checkout shows the token choice and the payment screen with no payment.

A test costs cents. The fee is 0.8%.

$1 checkout$5 checkout
CoinStack fee at 0.8%$0.008$0.04
Arrives in your wallet$0.992$4.96

Whatever your own wallet charges to send the payment is separate.

Four things are worth knowing before your first test:

  • The amount must be exact. On a $1 checkout the default allowance is 0.5%, which is half a cent. Send 0.99 USDC and the checkout becomes Partial and waits for the missing cent at the same address.
  • Exchanges have withdrawal minimums. Kraken's fee table lists a 1 USDC fee and a 2.5 USDC minimum, fee included, for USDC on Base. The least that can arrive is 1.5 USDC, so make the test checkout $5 if you pay from an exchange, and check whether the fee comes out of the amount you type. Paying straight from an exchange has more.
  • A $1 checkout does not offer every token. Each token has a minimum checkout value. It is $1 on most networks and higher on Bitcoin and TRON, and a checkout below a token's minimum leaves that token out.
  • Prices are held for a limited time. Once you pick a token the amount is fixed, with no time limit for stablecoins, for 60 minutes for BTC and for 20 minutes for other tokens.

If you paid through a plugin, look at the order as well. A WHMCS invoice is marked paid, a WooCommerce order moves to Processing, a Blesta payment is applied to the invoice, and a PrestaShop order appears and moves to Payment accepted. How to test a crypto checkout before launch lists the other cases to run, such as overpaid and late payments.

Step 6: Check the result and withdraw

Go back to Overview. The wallet balance has gone up, and the checkout and the payment are in the recent lists. The checkout's page shows its status, the amount received and the fee. The payment's page breaks the transfer down into value when received, amount settled, fee and network cost, and links the customer's transaction and the settlement transaction to a block explorer.

There is nothing to release or request. CoinStack has no payout schedule and no payout minimum, so the USDC is already yours, on your settlement network, at your settlement address. That is the wallet created with the account unless you named another address, such as a hardware wallet or an exchange deposit address. Withdrawing is optional and only the owner can do it:

  1. On Overview, select Withdraw, then Crypto.
  2. Choose a token and a network. Any supported pair works, such as USDT on TRON for an exchange deposit address.
  3. Paste the destination address and enter the amount in USDC, or select Max.
  4. Select Continue and read the review screen. It shows what you send, the network cost and what you receive.
  5. Select Withdraw. The dialog reports "Withdrawal complete" with a link to the transaction.

The review screen is the place to learn what a withdrawal costs, and you can go back from it without sending anything. With a $1 balance that is a reasonable place to stop. CoinStack also offers withdrawal to your bank, which converts your balance to fiat and pays it into your bank account. Sending the USDC to an exchange and selling there is another route, described in how to cash out USDC. A withdrawal to a wrong address cannot be reversed, so paste the address from a saved record and check it on the review screen. Withdrawing your balance goes through the choices.

What can go wrong in the first session?

What you seeUsual causeWhat to do
The plugin does not connectThe site address does not start with https://, or its certificate is invalidServe the site over HTTPS with a valid certificate. The settings page states the reason
WHMCS shows no connection right after savingThe module connects within a few minutesReload the gateway settings page
The crypto option is missing at your store's checkoutThe store currency is not one of the 146 that are supported (WooCommerce, PrestaShop)Switch to a supported currency. In WHMCS, set Convert To For Processing
A token is missing on the checkout pageThe checkout is below that token's minimum, or the token is switched off under Payment methodsRaise the amount or change the setting
The checkout says PartialLess than the full amount arrivedSend the rest to the same address, or select Mark as resolved
The payment completed but the order did not updateA firewall blocks the plugin's callback URL, or the WHMCS cron is not runningAllow outside POST requests to the path in the plugin's guide

Before the first real customer

Make 3 decisions before real customers arrive. Under Settings, choose which tokens and networks to offer, who covers the network cost on each network, and how large a shortfall you will accept. On the Team page, invite the people who need access and give each the lowest of the 4 roles that lets them work. And decide how you will refund: you send refunds from your own wallet, so choose who does it and from which address the customer should expect it.

Then turn on two-factor authentication under Settings. How CoinStack keeps accounts and payments safe explains what each role and key can do, and how CoinStack works follows one payment from checkout to USDC in your wallet.

Frequently asked questions

Can I try CoinStack without spending any crypto?

Most of it. The demo checkout shows the checkout page without a payment, and Send test delivers a sample event to your webhook. Signing in, creating a key and creating checkouts cost nothing. A complete run, from payment to webhook to settled USDC, uses a $1 checkout, the smallest allowed, that you pay yourself. That money settles back to your own wallet minus the fee.

How much does a first test payment on CoinStack cost?

A few cents. On a $1 checkout paid with USDC on Base, the 0.8% fee is under one cent, so 99.2 cents arrives in your wallet. If you fund the test from an exchange, the exchange's withdrawal fee will be the largest cost.

Do I need an API key to use CoinStack?

Only for a plugin or your own code. Creating a checkout in the dashboard and sharing its link needs no key and no website. The 4 plugins each need one key with Read and write access, and a script that only reads payments can use a Read only key.

How long does a CoinStack plugin take to connect?

Blesta connects when you save the gateway settings. The WooCommerce and PrestaShop settings pages show Connected once the plugin is set up. The WHMCS module connects within a few minutes, and its Connection line updates when you reload the page. If a plugin cannot connect, its settings page says why. The usual cause is a site address that does not start with https://.

Can one person run several merchant accounts?

Yes. The Merchant accounts screen lists every account you belong to with your role in each, and its form creates another. Each merchant account has its own wallet, keys, webhooks, team and settings, so separate brands or legal entities can be kept apart under one sign-in.

More posts