Ask your assistant to bring BittyStack home
Agents can use the same prices, Lightning payments and order tracking as our browser checkout. No account is required to purchase.
A prompt to get started
I want one BittyStack device. Read https://www.bittystack.com/.well-known/agent-commerce.json and follow its ordering API. Show me the full USD total, shipping and return terms before ordering. Use my coupon code if I provide one, and preserve the referral code from my influencer link. Show me the applied discount and credited partner before I approve. Ask me for a US shipping address privately. Use Lightning only, and ask for my payment approval. If you cannot pay with a Lightning wallet, give me the private checkout link so I can pay. Save my original order ID and private access key, and confirm payment from the order API.
How ordering works
- Get a current signed quote from
GET /api/shop/quote. Quotes include device price, shipping and tax after discounts. Pass the buyer’s coupon with?coupon=CODEand referral with&ref=PARTNER. Extract the referral code from their/r/PARTNERlink; do not rely on browser cookies or replace it with your own code. A partner coupon takes precedence over a link. Preserve these parameters when refreshing a quote. - Get the buyer’s approval of the full total and shipping/return terms. Collect their US delivery details. Show the applied coupon and credited partner. A changed or expired coupon needs a fresh quote and approval; never silently charge the full price.
- Generate and save a request UUID and a random 32-byte hexadecimal order access key. Create the order using
POST /api/shop/orders. Usesource: "agent"and an approvedmaxTotalCents. Submit the complete signed quote unchanged, including its discount and referral fields. - Request the saved invoice from the returned payment URL using
Authorization: Bearer <order access key>and an empty JSON object. - With explicit permission, pay the exact sats amount through a Lightning wallet before the invoice expires. Otherwise hand the private checkout link to the buyer.
- Poll the returned status URL with the same order access key until it reports
paid. Retain the original order on an uncertain result. Never create another order to retry a payment.
Prices are in USD; the invoice fixes an expiring sats amount. One year of family membership is included, with no automatic renewal. Standard US shipping is charged separately. Expected dispatch is one week and returns are accepted within 30 days of purchase.
Keep addresses and private order links out of public logs. Never send wallet seeds, passkeys, API keys or the store operator’s credential. Agents without Lightning payment tools can still create an authorized order and hand payment to the buyer.
We delete checkout contact details from the active order database when shipment is recorded. A private email alias is welcome; keep it active through delivery and receipt of the family invitation. Save the order access key privately for receipt and support access after deletion. Replaying an already-shipped order retrieves the original order and cannot change its delivery details. Read the shipping privacy details.