> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rebateright.com.au/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rebateright.com.au/_mcp/server.

# RebateRight API Documentation

The RebateRight API provides everything your software system needs to integrate with **Medicare**, the **Department of Veterans' Affairs (DVA)**, the **Australian Immunisation Register (AIR)**, and the **Medicare Benefits Schedule (MBS)**, handling the complexity of government healthcare systems so you don't have to.

#### Medicare Integration

Patient verification, eligibility checks, and claiming, all through a single, consistent API.

#### DVA Integration

Veteran verification and medical claiming for the Department of Veterans' Affairs.

#### AIR Integration

Access the Australian Immunisation Register for vaccination records across all patient types.

#### MBS

The full Medicare Benefits Schedule: \~6,000 items with fees, rebates, and structured rules, updated automatically on the Services Australia release cycle.

---

## Getting Started

#### Complete first-time setup

In the RebateRight app, open [**First-time setup**](https://app.rebateright.com.au/start) and work through activation. You will finish with an **API key** and **Minor ID** (and any Services Australia steps your products require). If you only use the **web app**, Connection Settings stores those values; you do not send HTTP headers yourself.

#### Choose how you will work

Pick the path that fits your team:

#### [Web Application](https://app.rebateright.com.au)

No coding required. Log in to the RebateRight app, add your Minor ID and API key in Connection Settings, and explore the features straight away.

#### [Direct API integration](/api-reference)

Building a custom integration? Connect your system directly to RebateRight's API using the [API Reference](/api-reference).

---

## Environments

Two environments are available. Use **test** while you build, validate, and demo with non-live patient data. Switch to **production** when you are ready to go live.

#### Production

**Host**

`api.rebateright.com.au`

---

**Data**

Live Medicare, DVA, and AIR: real patients and real providers.

---

**Cost**

Billed per your agreement for API usage in this environment.

---

**Typical use**

Go-live, pilots with real patients, production workflows.

#### Test

**Host**

`test-api.rebateright.com.au`

---

**Data**

Prepared test patients and providers: [Integration test data](/test-data).

---

**Cost**

Included in every plan and in the 14-day free trial. Requests here never count against your plan.

---

**Typical use**

Development, QA, integration tests, and test demos.

---

## Explore the Documentation

#### [Architecture](/architecture)

Understand how your application interacts with RebateRight and the external services it connects to.

#### [Security & Governance](/governance)

Learn about our zero data persistence architecture, Australian data sovereignty, and compliance certifications.

#### [Minor ID Setup](/minor-id)

Required for Claiming and AIR endpoints. Step-by-step guide to registering with Services Australia.

#### [PRODA](/proda)

How RebateRight authenticates with Medicare and government services on your behalf.

#### [DVA Integration](/dva)

Veteran cards, identifiers, and shared concepts for Department of Veterans' Affairs endpoints.

#### [AIR Integration](/air)

Overview of RebateRight's integration with the Australian Immunisation Register.

#### [Troubleshooting](/troubleshooting)

Common errors and how to resolve them, from authentication issues to Medicare claim validation.

---

## AI-Ready Documentation

Every page is structured in clean Markdown. Feed any page, or the entire docs, directly into Claude, ChatGPT, Cursor, or your CLI tools to get AI-generated code, request bodies, and integration logic tailored to your stack.

#### Ask AI

Use the **Ask AI** button in the search bar to ask plain English questions and get instant answers about endpoints, schemas, and error codes.

#### [MCP server](/mcp)

Connect Claude Code, Cursor, or any Model Context Protocol (MCP) client to these docs. Your assistant gets a live search tool over every endpoint, schema, and guide.

#### AI-Assisted Integration

Share any page URL with your AI assistant, or import the OpenAPI specification: one machine-readable file describing every endpoint, request, response, and error code.

* [`/openapi.json`](https://docs.rebateright.com.au/openapi.json)
* [`/openapi.yaml`](https://docs.rebateright.com.au/openapi.yaml)

Drop it into your IDE, Postman, or a code generator. Built from the same source as these docs, so it is always current.

#### Full Docs as a Single File

Point your AI pipelines at a single, always-current file:

* [`/llms-full.txt`](https://docs.rebateright.com.au/llms-full.txt): full content
* [`/llms.txt`](https://docs.rebateright.com.au/llms.txt): table of contents

URL never changes. Content updates with every release.

---

#### Need help?

Our team is here to help with any questions, issues, or feedback about your integration.

Email us at [support@rebateright.com.au](mailto:support@rebateright.com.au) and we'll get back to you promptly.

#### Note from Services Australia

Participating health professionals may utilise the services and information provided, including personal information, only in accordance with the *Privacy Act 1988*, *Health Insurance Act 1973*, *Veterans' Entitlements Act 1986*, *Australian Immunisation Register Act 2015* and other relevant legislation, State or Territory legislation, Policy and Guidelines.