[{"data":1,"prerenderedAt":1133},["ShallowReactive",2],{"versions":3,"nav-guides":8,"nav-ref-v1":86,"guide-\u002Fguides\u002Fpay-at-table":618,"guide-around-\u002Fguides\u002Fpay-at-table":1128},[4],{"id":5,"label":5,"file":6,"status":7},"v1","cartirra-v1.json","current",[9,14,19,24,29,34,39,44,49,55,60,65,70,75,80],{"path":10,"title":11,"group":11,"order":12,"description":13},"\u002Fguides\u002Fgetting-started","Getting started",1,"What the Cartirra API does, how requests look, and the three things to set up first.",{"path":15,"title":16,"group":11,"order":17,"description":18},"\u002Fguides\u002Fquickstart","Quickstart",2,"Create a checkout session from your server, let the shopper pay, and read the order. About ten minutes, all in test mode.",{"path":20,"title":21,"group":11,"order":22,"description":23},"\u002Fguides\u002Fembed-checkout","Cartirra Popup and Redirect",2.5,"Open the checkout over your own page with one script tag (Cartirra Popup), or send shoppers to Cartirra's checkout page (Cartirra Redirect). Then confirm the order on your server.",{"path":25,"title":26,"group":11,"order":27,"description":28},"\u002Fguides\u002Fad-tracking","Track checkouts in your ads",2.6,"Your Meta, Google and TikTok pixels see every checkout step and purchase, in the browser and from Cartirra's server, counted once.",{"path":30,"title":31,"group":11,"order":32,"description":33},"\u002Fguides\u002Fpay-at-table","Pay at table",2.7,"Tables with QR codes, bills guests pay from their phone (all at once or split), the live board, refunds and the day's reconciliation. An add-on, per store.",{"path":35,"title":36,"group":11,"order":37,"description":38},"\u002Fguides\u002Fwarranties","Warranties",2.8,"Give a warranty with an item at checkout, or add one after the sale. The shopper keeps it in their Cartirra account and is reminded before it ends. Growth and above.",{"path":40,"title":41,"group":11,"order":42,"description":43},"\u002Fguides\u002Fauthentication","Authentication",3,"Secret and public keys, test and live mode, rotating keys without downtime, and keeping them safe.",{"path":45,"title":46,"group":11,"order":47,"description":48},"\u002Fguides\u002Ftest-mode","Test mode",4,"Build and test your integration with test keys. Payments, refunds and payouts are simulated; no real money moves.",{"path":50,"title":51,"group":52,"order":53,"description":54},"\u002Fguides\u002Fpagination","Pagination and filtering","Core concepts",10,"Lists are newest first and use cursors. Ask for up to 100 items a page and follow next_cursor.",{"path":56,"title":57,"group":52,"order":58,"description":59},"\u002Fguides\u002Fidempotency","Idempotency",11,"Retry creates and refunds safely. The same Idempotency-Key always gets the same response, and the action happens once.",{"path":61,"title":62,"group":52,"order":63,"description":64},"\u002Fguides\u002Ferrors","Errors and troubleshooting",12,"One error shape everywhere. Branch on code, show message, and quote request_id when you contact support.",{"path":66,"title":67,"group":52,"order":68,"description":69},"\u002Fguides\u002Frate-limits","Rate limits",13,"Each secret key gets its own request budget. Back off on 429 using Retry-After.",{"path":71,"title":72,"group":52,"order":73,"description":74},"\u002Fguides\u002Fversioning","Versioning",14,"The version is in the path. Within v1 we only add things, and anything removed is announced with Deprecation and Sunset headers first.",{"path":76,"title":77,"group":77,"order":78,"description":79},"\u002Fguides\u002Fwebhooks","Webhooks",20,"Cartirra posts signed events to your endpoint when orders, payments, refunds, payouts and customers change. Verify, deduplicate, answer fast.",{"path":81,"title":82,"group":83,"order":84,"description":85},"\u002Fguides\u002Fchangelog","Changelog","Resources",30,"Changes to the Cartirra API and these docs. Within v1, changes are additive only.",{"title":87,"version":88,"tags":89,"webhooks":536},"Cartirra API","1.0.0",[90,112,136,171,239,313,345,355,369,384,409,432,446,456,481,496,511,526],{"name":91,"slug":92,"description":93,"operations":94},"Checkout sessions","checkout-sessions","Open a checkout for a cart; the shopper pays in Cartirra Popup on your page or through Cartirra Redirect.",[95,101,107],{"operationId":96,"slug":97,"method":98,"path":99,"summary":100,"tag":91},"createCheckoutSession","create-checkout-session","post","\u002Fv1\u002Fcheckout-sessions","Create a checkout session",{"operationId":102,"slug":103,"method":104,"path":105,"summary":106,"tag":91},"getCheckoutSession","get-checkout-session","get","\u002Fv1\u002Fcheckout-sessions\u002F{id}","Retrieve a checkout session",{"operationId":108,"slug":109,"method":98,"path":110,"summary":111,"tag":91},"expireCheckoutSession","expire-checkout-session","\u002Fv1\u002Fcheckout-sessions\u002F{id}\u002Fexpire","Expire a checkout session",{"name":113,"slug":114,"description":115,"operations":116},"Payment links","payment-links","Carts you share as a link (WhatsApp, Instagram, SMS): no code needed.",[117,122,126,131],{"operationId":118,"slug":119,"method":104,"path":120,"summary":121,"tag":113},"listPaymentLinks","list-payment-links","\u002Fv1\u002Fpayment-links","List payment links",{"operationId":123,"slug":124,"method":98,"path":120,"summary":125,"tag":113},"createPaymentLink","create-payment-link","Create a payment link",{"operationId":127,"slug":128,"method":104,"path":129,"summary":130,"tag":113},"getPaymentLink","get-payment-link","\u002Fv1\u002Fpayment-links\u002F{id}","Retrieve a payment link",{"operationId":132,"slug":133,"method":134,"path":129,"summary":135,"tag":113},"updatePaymentLink","update-payment-link","patch","Update a payment link",{"name":137,"slug":138,"description":139,"operations":140},"Tables","tables","Pay at table: your tables and the QR code printed on each.",[141,146,152,157,161,166],{"operationId":142,"slug":143,"method":104,"path":144,"summary":145,"tag":137},"listPayAtTableStores","list-pay-at-table-stores","\u002Fv1\u002Fpay-at-table\u002Fstores","List Pay at table stores",{"operationId":147,"slug":148,"method":149,"path":150,"summary":151,"tag":137},"setStorePayAtTable","set-store-pay-at-table","put","\u002Fv1\u002Fstores\u002F{store_id}\u002Fpay-at-table","Turn Pay at table on or off at a store",{"operationId":153,"slug":154,"method":104,"path":155,"summary":156,"tag":137},"listTables","list-tables","\u002Fv1\u002Fstores\u002F{store_id}\u002Ftables","List tables",{"operationId":158,"slug":159,"method":98,"path":155,"summary":160,"tag":137},"createTables","create-tables","Add tables",{"operationId":162,"slug":163,"method":134,"path":164,"summary":165,"tag":137},"updateTable","update-table","\u002Fv1\u002Ftables\u002F{id}","Update a table",{"operationId":167,"slug":168,"method":98,"path":169,"summary":170,"tag":137},"rotateTableQr","rotate-table-qr","\u002Fv1\u002Ftables\u002F{id}\u002Frotate-qr","Replace a table’s QR link",{"name":172,"slug":173,"description":174,"operations":175},"Bills","bills","Pay at table: bills guests pay from the table QR (all at once or split), the live board, refunds and the day’s reconciliation.",[176,181,185,190,195,200,205,210,215,220,224,229,234],{"operationId":177,"slug":178,"method":104,"path":179,"summary":180,"tag":172},"listBills","list-bills","\u002Fv1\u002Fbills","List bills",{"operationId":182,"slug":183,"method":98,"path":179,"summary":184,"tag":172},"openBill","open-bill","Open a bill",{"operationId":186,"slug":187,"method":104,"path":188,"summary":189,"tag":172},"getBillBoard","get-bill-board","\u002Fv1\u002Fbills\u002Fboard","Retrieve the table board",{"operationId":191,"slug":192,"method":104,"path":193,"summary":194,"tag":172},"lookupBillPayments","lookup-bill-payments","\u002Fv1\u002Fbills\u002Fpayments","Find a table payment",{"operationId":196,"slug":197,"method":104,"path":198,"summary":199,"tag":172},"getBillReconciliation","get-bill-reconciliation","\u002Fv1\u002Fbills\u002Freconciliation","Retrieve the day’s reconciliation",{"operationId":201,"slug":202,"method":104,"path":203,"summary":204,"tag":172},"listBillRefunds","list-bill-refunds","\u002Fv1\u002Fbills\u002Frefunds","List the refund queue",{"operationId":206,"slug":207,"method":98,"path":208,"summary":209,"tag":172},"refundBillRefund","refund-bill-refund","\u002Fv1\u002Fbills\u002Frefunds\u002F{id}\u002Frefund","Send a queued refund",{"operationId":211,"slug":212,"method":98,"path":213,"summary":214,"tag":172},"dismissBillRefund","dismiss-bill-refund","\u002Fv1\u002Fbills\u002Frefunds\u002F{id}\u002Fdismiss","Dismiss a queued refund",{"operationId":216,"slug":217,"method":104,"path":218,"summary":219,"tag":172},"getBill","get-bill","\u002Fv1\u002Fbills\u002F{id}","Retrieve a bill",{"operationId":221,"slug":222,"method":134,"path":218,"summary":223,"tag":172},"updateBill","update-bill","Update a bill",{"operationId":225,"slug":226,"method":98,"path":227,"summary":228,"tag":172},"recordBillOutsidePayment","record-bill-outside-payment","\u002Fv1\u002Fbills\u002F{id}\u002Foutside","Record a payment outside Cartirra",{"operationId":230,"slug":231,"method":98,"path":232,"summary":233,"tag":172},"closeBill","close-bill","\u002Fv1\u002Fbills\u002F{id}\u002Fclose","Close a bill",{"operationId":235,"slug":236,"method":98,"path":237,"summary":238,"tag":172},"voidBill","void-bill","\u002Fv1\u002Fbills\u002F{id}\u002Fvoid","Void a bill",{"name":240,"slug":241,"description":242,"operations":243},"Orders","orders","Orders placed through checkout: read them and move them through fulfilment, and answer problems shoppers report.",[244,249,254,259,264,269,274,279,284,289,294,298,303,308],{"operationId":245,"slug":246,"method":104,"path":247,"summary":248,"tag":240},"getOrderRelated","get-order-related","\u002Fv1\u002Forders\u002F{id}\u002Frelated","Retrieve order extras",{"operationId":250,"slug":251,"method":104,"path":252,"summary":253,"tag":240},"listOrders","list-orders","\u002Fv1\u002Forders","List orders",{"operationId":255,"slug":256,"method":104,"path":257,"summary":258,"tag":240},"getOrder","get-order","\u002Fv1\u002Forders\u002F{id}","Retrieve an order",{"operationId":260,"slug":261,"method":104,"path":262,"summary":263,"tag":240},"listOrderActivity","list-order-activity","\u002Fv1\u002Forders\u002F{id}\u002Factivity","List order activity",{"operationId":265,"slug":266,"method":98,"path":267,"summary":268,"tag":240},"updateOrderStatus","update-order-status","\u002Fv1\u002Forders\u002F{id}\u002Fstatus","Update order status",{"operationId":270,"slug":271,"method":98,"path":272,"summary":273,"tag":240},"acceptOrder","accept-order","\u002Fv1\u002Forders\u002F{id}\u002Faccept","Accept an order",{"operationId":275,"slug":276,"method":149,"path":277,"summary":278,"tag":240},"updateOrderDeliveryAddress","update-order-delivery-address","\u002Fv1\u002Forders\u002F{id}\u002Fdelivery-address","Update delivery address",{"operationId":280,"slug":281,"method":98,"path":282,"summary":283,"tag":240},"cancelOrder","cancel-order","\u002Fv1\u002Forders\u002F{id}\u002Fcancel","Cancel an order",{"operationId":285,"slug":286,"method":104,"path":287,"summary":288,"tag":240},"listOrderIssues","list-order-issues","\u002Fv1\u002Forder-issues","List problem reports",{"operationId":290,"slug":291,"method":104,"path":292,"summary":293,"tag":240},"getOrderIssue","get-order-issue","\u002Fv1\u002Forder-issues\u002F{id}","Retrieve a problem report",{"operationId":295,"slug":296,"method":134,"path":292,"summary":297,"tag":240},"updateOrderIssue","update-order-issue","Update a problem report",{"operationId":299,"slug":300,"method":98,"path":301,"summary":302,"tag":240},"markPayOnDeliveryCollected","mark-pay-on-delivery-collected","\u002Fv1\u002Forders\u002F{id}\u002Fpay-on-delivery\u002Fcollected","Mark pay on delivery collected",{"operationId":304,"slug":305,"method":98,"path":306,"summary":307,"tag":240},"markPayOnDeliveryNotPaid","mark-pay-on-delivery-not-paid","\u002Fv1\u002Forders\u002F{id}\u002Fpay-on-delivery\u002Fnot-paid","Mark pay on delivery not paid",{"operationId":309,"slug":310,"method":98,"path":311,"summary":312,"tag":240},"rejectOrder","reject-order","\u002Fv1\u002Forders\u002F{id}\u002Freject","Reject an order",{"name":36,"slug":314,"description":315,"operations":316},"warranties","Warranties on what you sold: sent on checkout lines or added afterwards. Shoppers keep them in their Cartirra account.",[317,322,327,331,336,341],{"operationId":318,"slug":319,"method":104,"path":320,"summary":321,"tag":36},"listWarranties","list-warranties","\u002Fv1\u002Fwarranties","List warranties",{"operationId":323,"slug":324,"method":104,"path":325,"summary":326,"tag":36},"getWarranty","get-warranty","\u002Fv1\u002Fwarranties\u002F{id}","Retrieve a warranty",{"operationId":328,"slug":329,"method":134,"path":325,"summary":330,"tag":36},"updateWarranty","update-warranty","Update a warranty",{"operationId":332,"slug":333,"method":98,"path":334,"summary":335,"tag":36},"voidWarranty","void-warranty","\u002Fv1\u002Fwarranties\u002F{id}\u002Fvoid","Void a warranty",{"operationId":337,"slug":338,"method":104,"path":339,"summary":340,"tag":36},"listOrderWarranties","list-order-warranties","\u002Fv1\u002Forders\u002F{id}\u002Fwarranties","List an order's warranties",{"operationId":342,"slug":343,"method":98,"path":339,"summary":344,"tag":36},"createWarranty","create-warranty","Add a warranty to an order",{"name":346,"slug":347,"description":348,"operations":349},"Payments","payments","The payment behind an order (bank transfer or card).",[350],{"operationId":351,"slug":352,"method":104,"path":353,"summary":354,"tag":346},"getPayment","get-payment","\u002Fv1\u002Fpayments\u002F{id}","Retrieve a payment",{"name":356,"slug":357,"description":358,"operations":359},"Refunds","refunds","Return money to the shopper, in full or in part.",[360,365],{"operationId":361,"slug":362,"method":104,"path":363,"summary":364,"tag":356},"listRefunds","list-refunds","\u002Fv1\u002Forders\u002F{id}\u002Frefunds","List refunds",{"operationId":366,"slug":367,"method":98,"path":363,"summary":368,"tag":356},"createRefund","create-refund","Create a refund",{"name":370,"slug":371,"description":372,"operations":373},"Receipts","receipts","Receipts and credit notes issued for orders.",[374,379],{"operationId":375,"slug":376,"method":104,"path":377,"summary":378,"tag":370},"getOrderReceipt","get-order-receipt","\u002Fv1\u002Forders\u002F{id}\u002Freceipt","Retrieve a receipt",{"operationId":380,"slug":381,"method":104,"path":382,"summary":383,"tag":370},"listOrderCreditNotes","list-order-credit-notes","\u002Fv1\u002Forders\u002F{id}\u002Fcredit-notes","List credit notes",{"name":385,"slug":386,"description":387,"operations":388},"Customers","customers","Shoppers who shared their details with your business.",[389,394,399,404],{"operationId":390,"slug":391,"method":104,"path":392,"summary":393,"tag":385},"listCustomerActivity","list-customer-activity","\u002Fv1\u002Fcustomers\u002F{id}\u002Factivity","List customer activity",{"operationId":395,"slug":396,"method":104,"path":397,"summary":398,"tag":385},"listCustomerAddresses","list-customer-addresses","\u002Fv1\u002Fcustomers\u002F{id}\u002Faddresses","List customer addresses",{"operationId":400,"slug":401,"method":104,"path":402,"summary":403,"tag":385},"listCustomers","list-customers","\u002Fv1\u002Fcustomers","List customers",{"operationId":405,"slug":406,"method":104,"path":407,"summary":408,"tag":385},"getCustomer","get-customer","\u002Fv1\u002Fcustomers\u002F{id}","Retrieve a customer",{"name":410,"slug":411,"description":412,"operations":413},"Promotions","promotions","Discount codes and automatic promotions.",[414,419,423,428],{"operationId":415,"slug":416,"method":104,"path":417,"summary":418,"tag":410},"listPromotions","list-promotions","\u002Fv1\u002Fpromotions","List promotions",{"operationId":420,"slug":421,"method":98,"path":417,"summary":422,"tag":410},"createPromotion","create-promotion","Create a promotion",{"operationId":424,"slug":425,"method":104,"path":426,"summary":427,"tag":410},"getPromotion","get-promotion","\u002Fv1\u002Fpromotions\u002F{id}","Retrieve a promotion",{"operationId":429,"slug":430,"method":134,"path":426,"summary":431,"tag":410},"updatePromotion","update-promotion","Update a promotion",{"name":433,"slug":434,"description":435,"operations":436},"Gift cards","gift-cards","Issue and list gift cards.",[437,442],{"operationId":438,"slug":439,"method":104,"path":440,"summary":441,"tag":433},"listGiftCards","list-gift-cards","\u002Fv1\u002Fgift-cards","List gift cards",{"operationId":443,"slug":444,"method":98,"path":440,"summary":445,"tag":433},"createGiftCard","create-gift-card","Issue a gift card",{"name":447,"slug":448,"description":449,"operations":450},"Reviews","reviews","Ratings shoppers left on completed orders.",[451],{"operationId":452,"slug":453,"method":104,"path":454,"summary":455,"tag":447},"listReviews","list-reviews","\u002Fv1\u002Freviews","List reviews",{"name":457,"slug":458,"description":459,"operations":460},"Balance","balance","Your Cartirra balance and its movements.",[461,466,471,476],{"operationId":462,"slug":463,"method":104,"path":464,"summary":465,"tag":457},"getBalance","get-balance","\u002Fv1\u002Fbalance","Retrieve balance",{"operationId":467,"slug":468,"method":104,"path":469,"summary":470,"tag":457},"listBalanceTransactions","list-balance-transactions","\u002Fv1\u002Fbalance\u002Ftransactions","List balance transactions",{"operationId":472,"slug":473,"method":104,"path":474,"summary":475,"tag":457},"getBalanceTransaction","get-balance-transaction","\u002Fv1\u002Fbalance\u002Ftransactions\u002F{id}","Retrieve a balance transaction",{"operationId":477,"slug":478,"method":104,"path":479,"summary":480,"tag":457},"getDeposit","get-deposit","\u002Fv1\u002Fbalance\u002Fdeposits\u002F{id}","Retrieve a deposit",{"name":482,"slug":483,"description":484,"operations":485},"Payouts","payouts","Money sent from your balance to your bank account.",[486,491],{"operationId":487,"slug":488,"method":104,"path":489,"summary":490,"tag":482},"listPayouts","list-payouts","\u002Fv1\u002Fpayouts","List payouts",{"operationId":492,"slug":493,"method":104,"path":494,"summary":495,"tag":482},"getPayout","get-payout","\u002Fv1\u002Fpayouts\u002F{id}","Retrieve a payout",{"name":497,"slug":498,"description":499,"operations":500},"Stores","stores","Your business's stores.",[501,506],{"operationId":502,"slug":503,"method":104,"path":504,"summary":505,"tag":497},"listStores","list-stores","\u002Fv1\u002Fstores","List stores",{"operationId":507,"slug":508,"method":104,"path":509,"summary":510,"tag":497},"getStore","get-store","\u002Fv1\u002Fstores\u002F{store_id}","Retrieve a store",{"name":512,"slug":513,"description":514,"operations":515},"Events","events","Everything Cartirra sent (or would send) to your webhook endpoint.",[516,521],{"operationId":517,"slug":518,"method":104,"path":519,"summary":520,"tag":512},"listEvents","list-events","\u002Fv1\u002Fevents","List events",{"operationId":522,"slug":523,"method":104,"path":524,"summary":525,"tag":512},"getEvent","get-event","\u002Fv1\u002Fevents\u002F{id}","Retrieve an event",{"name":527,"slug":528,"description":529,"operations":530},"Account","account","The business and mode your key belongs to.",[531],{"operationId":532,"slug":533,"method":104,"path":534,"summary":535,"tag":527},"getContext","get-context","\u002Fv1\u002Fme\u002Fcontext","Retrieve key context",[537,540,543,546,549,552,555,558,561,564,567,570,573,576,579,582,585,588,591,594,597,600,603,606,609,612,615],{"event":538,"slug":539,"summary":538},"order.created","order-created",{"event":541,"slug":542,"summary":541},"order.updated","order-updated",{"event":544,"slug":545,"summary":544},"payment.succeeded","payment-succeeded",{"event":547,"slug":548,"summary":547},"payment.failed","payment-failed",{"event":550,"slug":551,"summary":550},"payment.expired","payment-expired",{"event":553,"slug":554,"summary":553},"refund.succeeded","refund-succeeded",{"event":556,"slug":557,"summary":556},"refund.failed","refund-failed",{"event":559,"slug":560,"summary":559},"payout.paid","payout-paid",{"event":562,"slug":563,"summary":562},"payout.failed","payout-failed",{"event":565,"slug":566,"summary":565},"webhook.test","webhook-test",{"event":568,"slug":569,"summary":568},"customer.created","customer-created",{"event":571,"slug":572,"summary":571},"customer.updated","customer-updated",{"event":574,"slug":575,"summary":574},"bill.opened","bill-opened",{"event":577,"slug":578,"summary":577},"bill.updated","bill-updated",{"event":580,"slug":581,"summary":580},"bill.payment_received","bill-payment-received",{"event":583,"slug":584,"summary":583},"bill.closed","bill-closed",{"event":586,"slug":587,"summary":586},"bill.voided","bill-voided",{"event":589,"slug":590,"summary":589},"customer.consent_revoked","customer-consent-revoked",{"event":592,"slug":593,"summary":592},"order.issue_reported","order-issue-reported",{"event":595,"slug":596,"summary":595},"order.issue_updated","order-issue-updated",{"event":598,"slug":599,"summary":598},"warranty.created","warranty-created",{"event":601,"slug":602,"summary":601},"warranty.updated","warranty-updated",{"event":604,"slug":605,"summary":604},"warranty.voided","warranty-voided",{"event":607,"slug":608,"summary":607},"order.accepted","order-accepted",{"event":610,"slug":611,"summary":610},"order.rejected","order-rejected",{"event":613,"slug":614,"summary":613},"loyalty.tier_changed","loyalty-tier-changed",{"event":616,"slug":617,"summary":616},"loyalty.reward_redeemed","loyalty-reward-redeemed",{"id":619,"title":31,"body":620,"description":33,"extension":1122,"group":11,"meta":1123,"navigation":1124,"order":32,"path":30,"seo":1125,"stem":1126,"__hash__":1127},"guides\u002Fguides\u002Fpay-at-table.md",{"type":621,"value":622,"toc":1114},"minimark",[623,627,632,640,652,723,730,734,741,791,798,802,809,889,899,909,912,916,938,953,957,1076,1079,1083,1110],[624,625,626],"p",{},"Pay at table lets guests in your restaurant or lounge scan the QR code on their table and pay the bill from their phone: by one-time bank transfer, by card on your card provider's page, or from their Cartirra wallet. Usually one guest pays the whole bill. A group can split it equally, or each pay a custom amount. Every payment is confirmed by the provider, never by a guest's screen.",[628,629,631],"h2",{"id":630},"_1-turn-it-on-at-your-stores","1. Turn it on at your stores",[624,633,634,635,639],{},"Pay at table is an add-on, priced ",[636,637,638],"strong",{},"per store at ₦10,000 a month",", on Starter, Growth and Pro. Enterprise includes it at every store. Add it under Settings → Subscription, with as many stores as you want it at (up to your plan's store limit).",[624,641,642,643,651],{},"Then turn it on at each store. ",[644,645,647],"a",{"href":646},"\u002Freference\u002Flist-pay-at-table-stores",[648,649,650],"code",{},"GET \u002Fv1\u002Fpay-at-table\u002Fstores"," shows which stores have it and how many the add-on covers.",[653,654,659],"pre",{"className":655,"code":656,"language":657,"meta":658,"style":658},"language-bash shiki shiki-themes github-light github-dark","curl -X PUT https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Fstores\u002F$STORE_ID\u002Fpay-at-table \\\n  -H \"Authorization: Bearer $CARTIRRA_SECRET_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{ \"enabled\": true }'\n","bash","",[648,660,661,690,706,715],{"__ignoreMap":658},[662,663,665,669,673,677,680,684,687],"span",{"class":664,"line":12},"line",[662,666,668],{"class":667},"sScJk","curl",[662,670,672],{"class":671},"sj4cs"," -X",[662,674,676],{"class":675},"sZZnC"," PUT",[662,678,679],{"class":675}," https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Fstores\u002F",[662,681,683],{"class":682},"sVt8B","$STORE_ID",[662,685,686],{"class":675},"\u002Fpay-at-table",[662,688,689],{"class":671}," \\\n",[662,691,692,695,698,701,704],{"class":664,"line":17},[662,693,694],{"class":671},"  -H",[662,696,697],{"class":675}," \"Authorization: Bearer ",[662,699,700],{"class":682},"$CARTIRRA_SECRET_KEY",[662,702,703],{"class":675},"\"",[662,705,689],{"class":671},[662,707,708,710,713],{"class":664,"line":42},[662,709,694],{"class":671},[662,711,712],{"class":675}," \"Content-Type: application\u002Fjson\"",[662,714,689],{"class":671},[662,716,717,720],{"class":664,"line":47},[662,718,719],{"class":671},"  -d",[662,721,722],{"class":675}," '{ \"enabled\": true }'\n",[624,724,725,726,729],{},"Turning a store on when the add-on is already in use at as many stores as it covers returns ",[648,727,728],{},"plan_limit_reached",". Turning a store off frees its place, and bills already open there can still be paid and closed. The add-on can't be reduced below the number of stores it's on at.",[628,731,733],{"id":732},"_2-add-your-tables","2. Add your tables",[624,735,736,737,740],{},"Add your tables once, then print each table's ",[648,738,739],{},"qr_url"," as its QR code:",[653,742,744],{"className":655,"code":743,"language":657,"meta":658,"style":658},"curl -X POST https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Fstores\u002F$STORE_ID\u002Ftables \\\n  -H \"Authorization: Bearer $CARTIRRA_SECRET_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{ \"names\": [\"Table 1\", \"Table 2\", \"Patio 1\"] }'\n",[648,745,746,764,776,784],{"__ignoreMap":658},[662,747,748,750,752,755,757,759,762],{"class":664,"line":12},[662,749,668],{"class":667},[662,751,672],{"class":671},[662,753,754],{"class":675}," POST",[662,756,679],{"class":675},[662,758,683],{"class":682},[662,760,761],{"class":675},"\u002Ftables",[662,763,689],{"class":671},[662,765,766,768,770,772,774],{"class":664,"line":17},[662,767,694],{"class":671},[662,769,697],{"class":675},[662,771,700],{"class":682},[662,773,703],{"class":675},[662,775,689],{"class":671},[662,777,778,780,782],{"class":664,"line":42},[662,779,694],{"class":671},[662,781,712],{"class":675},[662,783,689],{"class":671},[662,785,786,788],{"class":664,"line":47},[662,787,719],{"class":671},[662,789,790],{"class":675}," '{ \"names\": [\"Table 1\", \"Table 2\", \"Patio 1\"] }'\n",[624,792,793,794,797],{},"If a printed code is lost or copied, ",[648,795,796],{},"POST \u002Fv1\u002Ftables\u002F{id}\u002Frotate-qr"," gives the table a new link; the old one stops working.",[628,799,801],{"id":800},"_3-open-a-bill","3. Open a bill",[624,803,804,805,808],{},"A waiter opens a bill in the dashboard, or your POS opens one with the API. Send the ",[636,806,807],{},"items"," so guests can see what they had. Cartirra adds them up, then adds your service charges and VAT from your fee settings.",[653,810,812],{"className":655,"code":811,"language":657,"meta":658,"style":658},"curl -X POST https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Fbills \\\n  -H \"Authorization: Bearer $CARTIRRA_SECRET_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"table_id\": \"tbl_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\",\n    \"items\": [\n      { \"name\": \"Jollof rice and chicken\", \"quantity\": 2, \"unit_price\": { \"amount\": \"3500.00\", \"currency\": \"NGN\" }, \"note\": \"No pepper\" },\n      { \"name\": \"Chapman\", \"quantity\": 1, \"unit_price\": { \"amount\": \"3000.00\", \"currency\": \"NGN\" } }\n    ]\n  }'\n",[648,813,814,827,839,847,854,860,866,872,878,884],{"__ignoreMap":658},[662,815,816,818,820,822,825],{"class":664,"line":12},[662,817,668],{"class":667},[662,819,672],{"class":671},[662,821,754],{"class":675},[662,823,824],{"class":675}," https:\u002F\u002Fapi.cartirra.com\u002Fv1\u002Fbills",[662,826,689],{"class":671},[662,828,829,831,833,835,837],{"class":664,"line":17},[662,830,694],{"class":671},[662,832,697],{"class":675},[662,834,700],{"class":682},[662,836,703],{"class":675},[662,838,689],{"class":671},[662,840,841,843,845],{"class":664,"line":42},[662,842,694],{"class":671},[662,844,712],{"class":675},[662,846,689],{"class":671},[662,848,849,851],{"class":664,"line":47},[662,850,719],{"class":671},[662,852,853],{"class":675}," '{\n",[662,855,857],{"class":664,"line":856},5,[662,858,859],{"class":675},"    \"table_id\": \"tbl_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b\",\n",[662,861,863],{"class":664,"line":862},6,[662,864,865],{"class":675},"    \"items\": [\n",[662,867,869],{"class":664,"line":868},7,[662,870,871],{"class":675},"      { \"name\": \"Jollof rice and chicken\", \"quantity\": 2, \"unit_price\": { \"amount\": \"3500.00\", \"currency\": \"NGN\" }, \"note\": \"No pepper\" },\n",[662,873,875],{"class":664,"line":874},8,[662,876,877],{"class":675},"      { \"name\": \"Chapman\", \"quantity\": 1, \"unit_price\": { \"amount\": \"3000.00\", \"currency\": \"NGN\" } }\n",[662,879,881],{"class":664,"line":880},9,[662,882,883],{"class":675},"    ]\n",[662,885,886],{"class":664,"line":53},[662,887,888],{"class":675},"  }'\n",[624,890,891,892,895,896,898],{},"If you only have the total, send ",[648,893,894],{},"items_total"," instead of ",[648,897,807],{},". Guests then see one line for the items.",[624,900,901,902,908],{},"The bill shows on the table's page as soon as it's open. Guests see each item, each charge, what's already paid and what's left. Change the items with ",[644,903,905],{"href":904},"\u002Freference\u002Fupdate-bill",[648,906,907],{},"PATCH \u002Fv1\u002Fbills\u002F{id}",": a waiter can before anyone pays, a manager after (with a reason).",[624,910,911],{},"A guest who pays the whole bill gets a receipt listing the items, charges and VAT. A guest who pays part of a split gets a receipt for their part.",[628,913,915],{"id":914},"_4-guests-pay","4. Guests pay",[917,918,919,926,932],"ul",{},[920,921,922,925],"li",{},[636,923,924],{},"The whole bill"," is the default: one guest pays the balance, plus an optional tip.",[920,927,928,931],{},[636,929,930],{},"Splitting"," is optional. Guests choose an equal part (for 2 to 30 people) or a custom amount. While a guest is paying, their part is held, so two people can't pay the same part.",[920,933,934,937],{},[636,935,936],{},"A bank transfer"," goes to a one-time account for the exact amount. If the guest sends less, what arrived is credited and the rest stays on the bill. If they send more, they're asked whether the extra is a tip. If they don't keep it as a tip, it goes to your refund queue.",[624,939,940,941,946,947,952],{},"You get ",[644,942,944],{"href":943},"\u002Freference\u002Fwebhooks\u002Fbill-payment-received",[648,945,580],{}," for each payment, and ",[644,948,950],{"href":949},"\u002Freference\u002Fwebhooks\u002Fbill-closed",[648,951,583],{}," when the bill is paid.",[628,954,956],{"id":955},"_5-manage-the-floor","5. Manage the floor",[958,959,960,973],"table",{},[961,962,963],"thead",{},[964,965,966,970],"tr",{},[967,968,969],"th",{},"Endpoint",[967,971,972],{},"What it does",[974,975,976,990,1011,1024,1037,1050,1063],"tbody",{},[964,977,978,987],{},[979,980,981],"td",{},[644,982,984],{"href":983},"\u002Freference\u002Fget-bill-board",[648,985,986],{},"GET \u002Fv1\u002Fbills\u002Fboard",[979,988,989],{},"Each table: free, open, part paid, or paying right now",[964,991,992,1000],{},[979,993,994],{},[644,995,997],{"href":996},"\u002Freference\u002Flookup-bill-payments",[648,998,999],{},"GET \u002Fv1\u002Fbills\u002Fpayments",[979,1001,1002,1003,1006,1007,1010],{},"Find a payment by ",[648,1004,1005],{},"SHR-","\u002F",[648,1008,1009],{},"BILL-"," reference, transfer account number, or amount",[964,1012,1013,1021],{},[979,1014,1015],{},[644,1016,1018],{"href":1017},"\u002Freference\u002Frecord-bill-outside-payment",[648,1019,1020],{},"POST \u002Fv1\u002Fbills\u002F{id}\u002Foutside",[979,1022,1023],{},"Record cash or POS money paid outside Cartirra",[964,1025,1026,1034],{},[979,1027,1028],{},[644,1029,1031],{"href":1030},"\u002Freference\u002Fclose-bill",[648,1032,1033],{},"POST \u002Fv1\u002Fbills\u002F{id}\u002Fclose",[979,1035,1036],{},"Close the bill; any remainder is recorded as paid outside Cartirra",[964,1038,1039,1047],{},[979,1040,1041],{},[644,1042,1044],{"href":1043},"\u002Freference\u002Fvoid-bill",[648,1045,1046],{},"POST \u002Fv1\u002Fbills\u002F{id}\u002Fvoid",[979,1048,1049],{},"Void the bill; anything paid through Cartirra goes to the refund queue",[964,1051,1052,1060],{},[979,1053,1054],{},[644,1055,1057],{"href":1056},"\u002Freference\u002Flist-bill-refunds",[648,1058,1059],{},"GET \u002Fv1\u002Fbills\u002Frefunds",[979,1061,1062],{},"The refund queue: overpayments guests didn't tip, and money a bill no longer needed",[964,1064,1065,1073],{},[979,1066,1067],{},[644,1068,1070],{"href":1069},"\u002Freference\u002Fget-bill-reconciliation",[648,1071,1072],{},"GET \u002Fv1\u002Fbills\u002Freconciliation",[979,1074,1075],{},"The day: bills, money by method, outside money, tips per waiter, fees, refunds",[624,1077,1078],{},"Waiters can change a bill only before anyone has paid. After that, a floor manager makes the change and gives a reason. Waiters are free seats: they don't count toward your plan's team-member limit, up to 50 per store.",[628,1080,1082],{"id":1081},"payments-toward-bills-are-not-orders","Payments toward bills are not orders",[624,1084,1085,1086,1089,1090,1093,1094,1097,1098,1101,1102,1105,1106,1109],{},"Each payment toward a bill is recorded as an order of kind ",[648,1087,1088],{},"bill_share",", numbered ",[648,1091,1092],{},"SHR-…",", so it has a receipt and can be refunded. These don't appear in ",[648,1095,1096],{},"GET \u002Fv1\u002Forders",", and don't send ",[648,1099,1100],{},"order.*"," or ",[648,1103,1104],{},"payment.*"," webhooks. Use the ",[648,1107,1108],{},"bill.*"," events instead.",[1111,1112,1113],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":658,"searchDepth":17,"depth":42,"links":1115},[1116,1117,1118,1119,1120,1121],{"id":630,"depth":17,"text":631},{"id":732,"depth":17,"text":733},{"id":800,"depth":17,"text":801},{"id":914,"depth":17,"text":915},{"id":955,"depth":17,"text":956},{"id":1081,"depth":17,"text":1082},"md",{},true,{"title":31,"description":33},"guides\u002Fpay-at-table","AK6eRXpqvqCMM2vGxtHSHI7ABziYDSG6P3dyWxmwQSc",[1129,1131],{"title":26,"path":25,"stem":1130,"children":-1},"guides\u002Fad-tracking",{"title":36,"path":35,"stem":1132,"children":-1},"guides\u002Fwarranties",1795864569962]