Banner & BoothDocs

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.

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", "pay_url": null, "message": "This order is already paid." }. On a cancelled order it returns 409 conflict.

To email the link at creation time instead, set "send_invoice_email": true 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-email

Payment 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 /v1/orders/{id} shows:

  • payment.status: "paid"
  • order_number set (the Shopify order number the buyer sees on their receipt)
  • payment.pay_url is null
  • status moves on from awaiting_payment

If you set notify_url, you'll also get an order.paid webhook. Confirm it with GET /v1/orders/{id} before telling the buyer.

payment.status values:

ValueMeaning
unpaidNothing paid yet.
paidPaid in full.
partially_paidPart of the total paid. Contact support@bannerandbooth.com.
refundedMoney returned.
voidedAuthorization cancelled before capture.

Totals

FieldWhat's in it
subtotalSum of lines[].line_total.
discount{ "code", "amount" }: the volume code applied, or null.
shipping{ "speed", "amount" }: 0 for ground on catalog items, 49.00 for UPS 2nd Day Air.
taxnull 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.
totalsubtotal - discount.amount + shipping.amount, plus tax when it's a number.
totals_noteA 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 /v1/orders/quote) 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.

CodeDiscountMinimum subtotal
BOOTH55%$500
FLEET1010%$2,500

Codes don't stack. Examples with 2026-11-30 prices:

ItemsSubtotalCodeDiscountBefore tax
1 × BB-KIT-1010A$1,196.99BOOTH5$59.85$1,137.14
BB-TB-10ST + BB-TT-6FIT + BB-RB-33STD$614.97BOOTH5$30.75$584.22
2 × BB-KIT-1010A + BB-TB-10ST$2,798.97FLEET10$279.90$2,519.07
30 × BB-RB-33STD$2,549.70FLEET10$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.

  1. Create the order with po_number, then email the PO or the tax-exempt certificate to support@bannerandbooth.com with the order id.
  2. Or skip the order and send a B2B request with POST /v1/quotes and needs: ["purchase_order", "net_terms", "tax_exempt"]. The team replies by email. Only do this with the buyer's consent to share their email. See B2B.

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://api.bannerandbooth.com/t/pay/<id>. Opening it shows a "Test payment recorded" page and marks the order paid; no card is involved. POST /v1/orders/{id}/simulate 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.