How ShipBill works, end to end

A single sale followed from the payment link to the payout, with every record ShipBill creates on the way and what it never does.

ShipBill is checkout and payment-records software that works on top of your own payment accounts: a buyer pays through one of them at ShipBill’s checkout, the money goes straight to your account there, and ShipBill records the sale, issues a numbered invoice, and tells your server. ShipBill isn’t a payment company and gives you no payment account: you bring your own. This page follows one sale from the link you share to the money in your bank, with every record ShipBill creates on the way, so you can see exactly what it does and what it doesn’t.

A provider is the payment company that takes the money. Stripe, Paddle, Midtrans, OxaPay and the others are providers; ShipBill is not one. That distinction runs through everything below.

The sale we’ll follow

Ana runs a small shop selling digital map prints. She has connected two providers to her ShipBill profile with her own accounts: Stripe for cards, and OxaPay for buyers who prefer crypto. She sells a print called “Harbour map” for US$49. A buyer in Canada, Ben, is about to buy it.

Step 1: Ana connects a provider

Before any sale, Ana connects Stripe in Settings → Payment providers. Following the guide on that page, she creates a restricted key in her Stripe Dashboard with only the permissions ShipBill needs, and pastes it in. Three things happen:

  • ShipBill checks the key with Stripe before saving it, and refuses an unrestricted secret key outright: none of the permissions it asks Stripe for can refund or pay out.
  • The key is stored encrypted, can’t be read back from the dashboard, and is never shown again.
  • Ana confirms a short list of statements about her own account (for example, that the Stripe account is in her own business’s name and that she takes payments for no one else). Then she enables the provider, and it can take payments.

The money will always go to Ana’s Stripe account. ShipBill never has an account the money passes through.

Step 2: Ana creates the product

In Products, Ana creates “Harbour map”: a title, a price of US$49, a picture, and what the buyer receives after paying, in this case a download. The price is stored with the product. That matters later: nothing a buyer’s browser sends can change what is charged, because the checkout looks the price up itself.

Ana doesn’t have a shop website, so she opens Payments → Payment links, chooses New link, and picks the product. She gets an address like https://pay.shipbill.io/p/… and posts it on her social profile. Every visit to the link opens a fresh checkout for that product at its stored price.

If she had a website, she could use a buy button, a server-created checkout, or her own payment page instead; the guide to adding a checkout to your website compares the four. Everything from step 4 on is the same whichever she uses.

Step 4: Ben opens the checkout

Ben taps the link. ShipBill creates a checkout session (cs_…) for one Harbour map at US$49, and shows him Ana’s checkout: her name and logo, the product, the price, and a field for his email.

The checkout shows him the ways to pay. ShipBill offers every method Ana has connected, in a fixed order, and sends each one to the provider she chose for it: here, a card form from Stripe and a crypto option from OxaPay. When two providers could take the same method at the same priority, a local gateway comes first for buyers in its own country, or Ana’s own rules decide. The checkout hides no method by the buyer’s country, with one exception: Paddle isn’t offered to buyers in countries under sanctions. A merchant who had also connected an Indonesian gateway would offer its QRIS and virtual accounts as well, charged in rupiah, with the dollar figure shown “≈”.

A quiet bot check runs on the checkout, which stops scripts that test stolen cards from using it.

Step 5: Ben pays

Ben types his email and chooses the card form. The form is Stripe’s own, mounted in the checkout: his card number goes from his browser to Stripe, never to ShipBill or to Ana. Stripe asks his bank, the bank approves, and Stripe tells ShipBill the payment succeeded.

If Ana had several providers that could take a card, her routing rules would decide which one tries first, and if that one had an error, the next could take Ben’s next attempt. If the attempt had failed, Ben would have seen why in the checkout and could have tried again or picked another method.

Step 6: the records

The moment the payment succeeds, ShipBill creates the records of the sale, all in Ana’s profile and all linked to each other:

Record ID What it holds
Order ord_… What was bought: one Harbour map at US$49
Payment pay_… Status succeeded, US$49, method card, provider stripe, Ben as the customer, and Ana’s reference if she gave one
Customer cus_… Ben, by email, within Ana’s profile only
Invoice inv_… A numbered invoice, for example INV-2026-00042, with Ana’s business details, Ben’s, and the line

The invoice number comes from a sequence that belongs to Ana’s profile and never skips a number. Test-mode invoices have their own sequence and start with TEST-, so a test can never take a live number.

Then two emails go out: Ben gets his receipt, with the invoice and his download; Ana gets an email about the sale.

What Ben has afterwards

From Ben’s side, the sale left him three things. A receipt in his inbox, with Ana’s name, the product, the amount, and how to contact her. A link to his invoice’s own page, where he can download the PDF and, if his company needs it, add its name, address, or tax number himself; the invoice gets a new revision, but its number and amounts never change. And the print itself, delivered by the download link in the receipt. If he ever disputes the charge, every one of those is evidence that he bought and received it.

Step 7: the webhook

If Ana had a server, it would hear about the sale too. ShipBill sends a payment.succeeded event to each webhook endpoint she has added, as an HTTP request with the payment in it and a signature in the ShipBill-Signature header, made with a secret only her server knows.

{
  "id": "evt_…",
  "type": "payment.succeeded",
  "livemode": true,
  "data": {
    "object": { "id": "pay_…", "object": "payment", "status": "succeeded", "amount": 4900, "currency": "USD", "reference": "order_1001", … }
  }
}

Her server checks the signature, delivers the order, and answers. If it’s down, ShipBill retries for about three days. The event is the same whichever provider took the money, which is the point: her code handles one kind of message, not one per provider. The details are in the webhooks guide.

Step 8: the ledger

Behind the invoice, ShipBill keeps a ledger: every payment, provider fee, refund, and dispute is a balanced entry, the way an accountant would record it. When Stripe reports its fee on Ben’s payment, a fee entry is added against the sale. Ana’s net revenue, what the sale brought in after the provider’s fee, comes from the ledger, not from adding up numbers that might drift.

Not every provider reports its fee on each payment. For those that don’t, such as OxaPay, Midtrans, and DOKU, ShipBill estimates the fee from the provider’s published rates for Ana’s analytics, marks it as an estimate, and never puts it in the ledger as if it had been reported.

Step 9: the payout

Over the following days, Stripe pays Ana’s balance out to her bank account, on Stripe’s schedule. ShipBill doesn’t move that money; it can’t. ShipBill reads Stripe’s payouts and shows which sales each one contains, as it does for Square, Dodo Payments, and Whop. For other providers, such as OxaPay, Ana records each payout by hand with Record payout. A reconciliation report compares what ShipBill recorded with what the provider says, and flags any difference: a payment the provider has and ShipBill doesn’t, an amount that doesn’t match, a fee that never arrived.

Step 10: if Ben asks for a refund

A week later, Ben writes that he bought the wrong print. Ana refunds him in her Stripe dashboard, because refunds happen at the provider: ShipBill never starts a refund or a payout. Stripe tells ShipBill about the refund, and ShipBill:

  • records it against the payment and in the ledger;
  • issues a credit note with its own number (for example CN-2026-00003) that refers to the invoice;
  • sends payment.refunded to Ana’s webhook, so her server can take the download back if she wants to.

If Ana had made the refund some other way, she could mark it in ShipBill by hand, and the same records would follow.

If Ben had disputed the payment with his bank instead, the dispute would be recorded the same way, next to the payment’s invoice and receipt, so Ana has her evidence in one place when she answers it at Stripe. The guide on chargebacks for small sellers explains what happens next.

The same sale, as a subscription

If “Harbour map” were a monthly membership instead of a print, steps 1 to 9 would be the same for the first month, plus a subscription (sub_…). From then on, ShipBill would send Ben a reminder a few days before each period ends, with a link to pay for the next one by any method Ana accepts, then a reminder on the due date and one during a short grace period. Each renewal is a new payment with its own invoice. If Ana had connected a provider that runs renewals itself (a merchant of record, or Whop), the provider would charge Ben automatically instead, and ShipBill would record each renewal. The guide to subscriptions without a card on file covers the model.

The same sale, in test mode

Before going live, Ana could have done all of this in test mode: separate keys, its own payments and customers, separate webhook endpoints (products are shared by both modes), connected to Stripe’s sandbox, with invoices numbered TEST-INV-…. ShipBill also has a test provider she connects in test mode, which isn’t a real payment company: it lets her pay a checkout, fail one, or refund one before she has opened any provider account. It exists only in test mode. The testing guide walks through it.

Where Ana sees it all

Each record from the sale has a place in Ana’s dashboard:

  • Overview: the day’s revenue, the number of payments, the success rate, and the most recent payments, Ben’s at the top.
  • Payments: Ben’s payment with its method, provider, fee, and status, its timeline, and its webhook deliveries.
  • Invoices: INV-2026-00042, its PDF, and Ben’s page for it, where he can correct his own details (a new revision, same number and amounts).
  • Customers: Ben, with his payments and invoices.
  • Analytics: revenue over time, where buyers came from, which methods they used, and, for subscriptions, renewals and monthly recurring revenue.
  • Settings: the providers, the webhook endpoints and their delivery logs, the invoice details, the checkout’s look, and the team.

Exports for her accountant come from the same records: a monthly bundle of every invoice and credit note issued, as PDFs with an index, or the list alone as a spreadsheet.

When something goes wrong

A sale has several moving parts, so it helps to know what happens when one of them fails.

  • The provider has an error. The buyer sees the attempt fail and can try again; if Ana has another provider that can take the payment, the next attempt can go there, and a provider with many errors in a short time is set aside for a few minutes.
  • Ana’s server is down when the webhook is sent. ShipBill retries over about three days. If the endpoint keeps failing for three days, it’s disabled and Ana is emailed; she can resend any event from the delivery log.
  • Ben pays by a method that confirms slowly, such as a bank transfer or a crypto payment waiting for the network. The payment is processing until the provider confirms it, and Ana’s server is told when it succeeds, not before.
  • The provider’s report and ShipBill’s record disagree. The reconciliation report shows the difference for Ana to look at; ShipBill doesn’t silently change either side.

More than one person, more than one business

Ana works alone, but she doesn’t have to. A profile (one business, with its own providers, products, invoices, and numbering) can have a team: each person signs in as themselves with a role, owner, admin, member, or viewer, so an accountant can read everything without being able to change a provider, and a developer can manage webhook endpoints without seeing what they don’t need. Every change is recorded with who made it.

If Ana opened a second shop with a different name and its own bank account, she’d create a second profile rather than mixing them. Each profile has its own invoice sequence, its own providers, and its own test mode, so the two businesses’ records never mix. One account can hold up to five profiles on the Paid plan; the trial includes one.

Buyers never see any of this. Ben saw Ana’s name, her logo, her product, and a way to pay, which is how it should be.

The same flow, through the API

Everything Ana did in the dashboard has an API equivalent for a developer: create products, payment links, and checkout sessions; read payments, invoices, customers, and subscriptions; and receive the same events at a webhook. Requests that create something take an Idempotency-Key, so a retried request never makes a second checkout. A developer selling to signed-in users would create the checkout from their server with their own user’s ID as the reference, and get that reference back on every event about the purchase. The developer docs and the hosted checkout guide start there.

What it costs

ShipBill doesn’t take a percentage of sales. Each provider charges its own fee on the payments it takes, as it would without ShipBill; ShipBill charges a flat plan for the account, after a free trial of three months. The current price is on the pricing page.

What ShipBill never does

The sale above shows what ShipBill does. Just as important is what it doesn’t:

  • It never holds, receives, or pays out the money. Payments go to Ana’s own provider accounts; payouts come from the providers.
  • It isn’t a payment company and gives you no payment account: you need your own account with at least one provider.
  • It never refunds on its own. A refund is Ana’s decision, made at her provider. Fraud signals on a payment are notes for her, never automatic refunds.
  • It is never the seller. Ana is, or the merchant of record she chooses for some sales.
  • It isn’t a marketplace: no sub-merchants, no share of your sales.
  • It never sees card numbers. The provider’s own fields or pages take them.
  • It never asks for your provider password or logs in as you. It uses each provider’s official API with a key you create, which you can revoke at the provider or by disconnecting, which deletes it.
  • ShipBill never uses a key to refund or pay out. Where a provider lets a key be narrowed, it asks only for permissions that can’t refund or pay out; where it can’t (Dodo Payments, Midtrans, DOKU, Square, SumUp), the key carries your account’s full access, and ShipBill’s code never calls a refund or a payout with it. It refuses a Stripe secret key, a crypto provider’s payout key, and a Whop key that could refund or move money.
  • It isn’t affiliated with or endorsed by the providers it connects to.

What it adds up to

For Ana, one sale through ShipBill means: one checkout that showed Ben the ways he could pay, one payment in her own Stripe account, one numbered invoice and receipt, one webhook her code understands, one ledger entry with the real fee, and one place to see the payout, the refund, or the dispute. Add a second or a fifth provider and none of that changes; the buyer just sees more ways to pay.

If you’re choosing providers to connect, start with what a payment provider is. If you bill clients rather than sell on a website, getting paid as a freelancer covers the routes. If you sell from Indonesia, see payments in Indonesia for businesses that sell abroad. The developer docs have the rest.

Questions

Does ShipBill hold my money?

No. Each payment goes from the buyer to your own account at the provider you connected, and the provider pays you out. ShipBill records the payment, issues the invoice, and tells your server; it never receives, holds, or pays out the money.

Which payment companies does ShipBill work with?

Fourteen as of 25 October 2026: Stripe, Square, and SumUp for cards; the merchants of record Polar, Dodo Payments, Creem, and Paddle; Whop, a processor that renews memberships itself; Midtrans, Xendit, and DOKU in Indonesia; and Cryptomus, OxaPay, and NOWPayments for crypto. You connect your own account with each one you use.

Who is the seller when someone pays at your ShipBill checkout?

You are, unless you connect a merchant of record such as Paddle, Polar, Dodo Payments, or Creem, which becomes the legal seller and handles the tax for the sales it takes. ShipBill is never the seller.

Can I try it without real money?

Yes. Every profile has a test mode with its own keys, data, and webhook endpoints, connected to your providers' sandboxes where they have one, and a test provider you connect in test mode, before you've opened any provider account.

ShipBill is one checkout in front of the payment providers you already use. Start free