CartirraAPI
Get API keys

API reference · 1.0.0

Cartirra API

The Cartirra API lets your server open checkouts, follow orders and payments, refund, and read your balance.

  • Authentication: Authorization: Bearer sk_test_… or sk_live_…. Test and live data never mix; the key decides.
  • snake_case: every field, query parameter and value is snake_case, and error codes are lower snake_case (bill_not_open). Your metadata comes back exactly as you sent it.
  • Errors: always { "error": { "code", "message", "details?", "request_id" } }.
  • Money: decimal strings, { "amount": "10500.00", "currency": "NGN" }.
  • Lists: newest first, limit (1–100) and cursor (the previous page's next_cursor).
  • Retries: send an Idempotency-Key on creates; replays return the first response.
Base URL
https://api.cartirra.com
Authentication
Authorization: Bearer sk_test_…

Requests are JSON over HTTPS. Your key decides the mode: sk_test_ keys see test data only, sk_live_ keys see live data. Start with the quickstart, or read about errors and pagination.

Resources

Checkout sessions

Open a checkout for a cart; the shopper pays in Cartirra Popup on your page or through Cartirra Redirect.

Carts you share as a link (WhatsApp, Instagram, SMS): no code needed.

Tables

Pay at table: your tables and the QR code printed on each.

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.

Orders

Orders placed through checkout: read them and move them through fulfilment, and answer problems shoppers report.

Warranties

Warranties on what you sold: sent on checkout lines or added afterwards. Shoppers keep them in their Cartirra account.

Payments

The payment behind an order (bank transfer or card).

Refunds

Return money to the shopper, in full or in part.

Receipts

Receipts and credit notes issued for orders.

Customers

Shoppers who shared their details with your business.

Promotions

Discount codes and automatic promotions.

Gift cards

Issue and list gift cards.

Reviews

Ratings shoppers left on completed orders.

Balance

Your Cartirra balance and its movements.

Payouts

Money sent from your balance to your bank account.

Stores

Your business's stores.

Events

Everything Cartirra sent (or would send) to your webhook endpoint.

Account

The business and mode your key belongs to.

Webhooks

Cartirra sends these events to your webhook endpoint, signed with Cartirra-Signature. Receiving webhooks