Guides
Payments
How buyers pay for API orders through a Shopify-hosted pay_url, volume codes, sales tax, purchase orders and tax-exempt orders.
Agents create orders; buyers pay for them. Every unpaid order carries a pay_url: a Shopify-hosted checkout on bannerandbooth.com for exactly that order. The buyer opens it and pays. No card data ever passes through the API, your agent, or your logs.
Why the agent can't pay
- No card data in the API. The API has no field for card numbers, wallets or bank details, and never will. Payment happens on Shopify's checkout, which handles card security.
- The order key can't spend money. It can upload artwork, approve proofs and cancel an unpaid order. That's all.
- The buyer stays in control. The buyer sees the final total, including tax, before paying.
Get the payment link
payment.pay_url is in every unpaid order object, and the first next_actions entry is usually pay with the same link in url.
curl -s "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID" \
-H "Authorization: Bearer $BB_ORDER_KEY" | jq '{status, total, payment}'{
"status": "awaiting_payment",
"total": 1137.14,
"payment": {
"status": "unpaid",
"pay_url": "https://bannerandbooth.com/.../invoices/...",
"methods": ["card", "shop_pay", "apple_pay", "google_pay"]
}
}Or ask for it explicitly, and optionally have Shopify email it to the order's email:
curl -s -X POST "https://api.bannerandbooth.com/v1/orders/$BB_ORDER_ID/pay" \
-H "Authorization: Bearer $BB_ORDER_KEY" -H "Content-Type: application/json" \
-d '{"email_invoice": true}'{
"status": "unpaid",
"pay_url": "https://bannerandbooth.com/.../invoices/...",
"emailed": true,
"methods": ["card", "shop_pay", "apple_pay", "google_pay"],
"note": "Hosted by Shopify on bannerandbooth.com. Payment status updates in GET /v1/orders/{id} within seconds."
}On an order that's already paid, the same call returns { "status": "paid",. On a cancelled order it returns 409 conflict.
To email the link at creation time instead, set "send_ on POST /v1/orders.
The CLI prints the link, opens it in the default browser, or has Shopify email it:
npx -y bannerbooth@latest order pay bbo_k3m9q2x7vd
npx -y bannerbooth@latest order pay bbo_k3m9q2x7vd --open
npx -y bannerbooth@latest order pay bbo_k3m9q2x7vd --send-emailPayment methods
payment.methods lists what the checkout accepts: card, shop_pay, apple_pay, google_pay. Purchase orders and Net terms are handled by a person; see below.
Confirming payment
After the buyer pays, GET / shows:
payment.status: "paid" order_numberset (the Shopify order number the buyer sees on their receipt)payment.pay_urlisnullstatusmoves on fromawaiting_payment
If you set notify_url, you'll also get an order.paid webhook. Confirm it with GET / before telling the buyer.
payment.status values:
| Value | Meaning |
|---|---|
unpaid | Nothing paid yet. |
paid | Paid in full. |
partially_paid | Part of the total paid. Contact support@bannerandbooth.com. |
refunded | Money returned. |
voided | Authorization cancelled before capture. |
Totals
| Field | What's in it |
|---|---|
subtotal | Sum of lines[].. |
discount | { "code",: the volume code applied, or null. |
shipping | { "speed",: 0 for ground on catalog items, 49.00 for UPS 2nd Day Air. |
tax | null until calculated. For a live order created with a shipping_address, it's the sales tax Shopify calculated for that address. Otherwise tax is calculated at payment. |
total | subtotal - discount., plus tax when it's a number. |
totals_note | A sentence for the buyer: "Sales tax is calculated at payment from the shipping address." or "Totals include sales tax for the shipping address." |
When you tell a buyer the total, say whether tax is included. With tax: null, say "plus sales tax, calculated at checkout". Quotes (POST /) always have tax: null.
Volume codes
Two codes exist. The best one the order qualifies for is applied automatically, so you don't need to pass discount_code at all.
| Code | Discount | Minimum subtotal |
|---|---|---|
BOOTH5 | 5% | $500 |
FLEET10 | 10% | $2,500 |
Codes don't stack. Examples with 2026-11-30 prices:
| Items | Subtotal | Code | Discount | Before tax |
|---|---|---|---|---|
1 × BB-KIT-1010A | $1,196.99 | BOOTH5 | $59.85 | $1,137.14 |
BB-TB-10ST + BB-TT-6FIT + BB-RB-33STD | $614.97 | BOOTH5 | $30.75 | $584.22 |
2 × BB-KIT-1010A + BB-TB-10ST | $2,798.97 | FLEET10 | $279.90 | $2,519.07 |
30 × BB-RB-33STD | $2,549.70 | FLEET10 | $254.97 | $2,294.73 |
If an order is just under a threshold, it's fair to tell the buyer. For example, the premium 10×20 plan is $2,498.95, $1.05 short of FLEET10.
Purchase orders, Net terms and tax-exempt
These need a person at Banner & Booth.
Purchase order number only (the buyer pays by card but needs their PO number recorded on the order): put it in po_number.
"po_number": "PO-7781"Paying by PO or on Net terms, or a tax-exempt order: two options.
- Create the order with
po_number, then email the PO or the tax-exempt certificate to support@bannerandbooth.com with the order id. - Or skip the order and send a B2B request with
POST /v1/quotesandneeds: ["purchase_. The team replies by email. Only do this with the buyer's consent to share their email. See B2B.order", "net_ terms", "tax_ exempt"]
Net terms are approved by a person, case by case. Don't tell a buyer they have terms until Banner & Booth confirms it. A W-9 is available on request from the same address.
Test mode
A test order's pay_url is https://. Opening it shows a "Test payment recorded" page and marks the order paid; no card is involved. POST / with {"event": "paid"} does the same without a browser. See Test mode.
Refunds
Refunds and cancellations of paid orders are handled under the store's refund policy. The API can only cancel unpaid orders. For anything else, email support@bannerandbooth.com with the order number.