# Toggle Developers

## Toggle Developers

- [Welcome](https://developers.usetoggle.com/master.md): New to developing with Toggle? Jump in here.
- [Getting started](https://developers.usetoggle.com/graphql/getting-started.md): With our GraphQL API
- [Exploring our API](https://developers.usetoggle.com/graphql/exploring-our-api.md): We have an API explorer and playground.
- [Authentication](https://developers.usetoggle.com/graphql/authentication.md): How to retrieve and use a bearer token.
- [Pagination / Throttling](https://developers.usetoggle.com/graphql/pagination-throttling.md)
- [Error handling](https://developers.usetoggle.com/graphql/error-handling.md): How Toggle returns error responses
- [Overview](https://developers.usetoggle.com/key-concepts/overview.md): Orders, Transactions, Line Items and more
- [Orders, Transactions & Line Items](https://developers.usetoggle.com/key-concepts/overview/orders-transactions-and-line-items.md): Some useful key structures and terms
- [Card number formats](https://developers.usetoggle.com/key-concepts/overview/card-numbers.md)
- [Tender vs Discount](https://developers.usetoggle.com/key-concepts/overview/tender-vs-discount.md)
- [Create a card](https://developers.usetoggle.com/basics/create-a-card.md): Simple card creation
- [Custom validity rules](https://developers.usetoggle.com/basics/create-a-card/custom-validity-rules.md)
- [Balance Check](https://developers.usetoggle.com/basics/card-balance.md)
- [Redeem / Top up a card](https://developers.usetoggle.com/basics/redeem-a-card.md)
- [Reversals](https://developers.usetoggle.com/reversals.md)
- [Overview](https://developers.usetoggle.com/webhooks/overview.md)
- [Getting started](https://developers.usetoggle.com/webhooks/overview/getting-started.md)
- [Authentication & responses](https://developers.usetoggle.com/webhooks/overview/authentication-and-responses.md)
- [Events](https://developers.usetoggle.com/webhooks/events.md)
- [Card.balance\_adjusted](https://developers.usetoggle.com/webhooks/events/card.balance_adjusted.md)
- [Card.card\_reference\_updated](https://developers.usetoggle.com/webhooks/events/card.card_reference_updated.md)
- [Card.expiry\_reminder](https://developers.usetoggle.com/webhooks/events/card.expiry_reminder.md)
- [Card.registered](https://developers.usetoggle.com/webhooks/events/card.registered.md)
- [Card.send\_recipient\_email](https://developers.usetoggle.com/webhooks/events/card.send_recipient_email.md)
- [Card.resend\_recipient\_email](https://developers.usetoggle.com/webhooks/events/card.resend_recipient_email.md)
- [Order.created](https://developers.usetoggle.com/webhooks/events/order.created.md)
- [Order.cancelled](https://developers.usetoggle.com/webhooks/events/order.cancelled.md)
- [Order.send\_receipt\_email](https://developers.usetoggle.com/webhooks/events/order.send_receipt_email.md)
- [Order.send\_cancellation\_email](https://developers.usetoggle.com/webhooks/events/order.send_cancellation_email.md)
- [Payment.failed](https://developers.usetoggle.com/webhooks/events/payment.failed.md)
- [Payment.review\_opened](https://developers.usetoggle.com/webhooks/events/payment.review_opened.md)
- [Fulfilment.dispatched](https://developers.usetoggle.com/webhooks/events/fulfilment.dispatched.md)
- [EPOS & Ordering](https://developers.usetoggle.com/partner-guides/epos-and-ordering.md): If you're an EPOS or Ordering partner, start here.
- [Overview](https://developers.usetoggle.com/partner-guides/epos-and-ordering/overview.md)
- [Accreditation](https://developers.usetoggle.com/partner-guides/epos-and-ordering/accreditation.md)
- [Configuration variables](https://developers.usetoggle.com/partner-guides/epos-and-ordering/configuration-variables.md)
- [Create a card](https://developers.usetoggle.com/partner-guides/epos-and-ordering/physical-card-orders.md)
- [Balance check](https://developers.usetoggle.com/partner-guides/epos-and-ordering/balance-check.md)
- [Redemptions & top-ups](https://developers.usetoggle.com/partner-guides/epos-and-ordering/redemptions-and-top-ups.md)
- [Reversing an order](https://developers.usetoggle.com/partner-guides/epos-and-ordering/cancelling-a-card.md)
- [Guest gratuity](https://developers.usetoggle.com/partner-guides/guest-gratuity.md)
- [Overview](https://developers.usetoggle.com/partner-guides/guest-gratuity/overview.md)
- [Accreditation](https://developers.usetoggle.com/partner-guides/guest-gratuity/accreditation.md)
- [Configuration variables](https://developers.usetoggle.com/partner-guides/guest-gratuity/configuration-variables.md)
- [Creating a card](https://developers.usetoggle.com/partner-guides/guest-gratuity/creating-a-card.md)
- [Reversing an order](https://developers.usetoggle.com/partner-guides/guest-gratuity/cancelling-a-card.md)
- [CRM](https://developers.usetoggle.com/partner-guides/crm.md)
- [Overview](https://developers.usetoggle.com/partner-guides/crm/overview.md)
- [Historic data via GraphQL](https://developers.usetoggle.com/partner-guides/crm/historic-data-via-graphql.md)
- [Real time data via webhooks](https://developers.usetoggle.com/partner-guides/crm/real-time-data-via-webhooks.md)
- [Custom Web shops](https://developers.usetoggle.com/partner-guides/custom-web-shops.md)
- [Overview](https://developers.usetoggle.com/partner-guides/custom-web-shops/overview.md)
- [Accreditation](https://developers.usetoggle.com/partner-guides/custom-web-shops/accreditation.md)
- [Configuration variables](https://developers.usetoggle.com/partner-guides/custom-web-shops/configuration-variables.md)
- [Create a card](https://developers.usetoggle.com/partner-guides/custom-web-shops/create-a-card.md)
- [Reversing an order](https://developers.usetoggle.com/partner-guides/custom-web-shops/cancelling-a-card.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://developers.usetoggle.com/master.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
