> 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.

# Quickstart

#### Get your credentials

In the RebateRight app, open [**Getting Started**](https://app.rebateright.com.au/start) and work through activation. You finish with 3 credentials: a **Minor ID**, an **API Key** for production and a **Test API Key** for the test environment. This quickstart uses the Test API Key and the Minor ID. [Keys, Minor ID and environments](/keys-and-environments) sets out where each credential goes.

#### Verify a test patient

Send a [Patient Verification](/api-reference/medicare-eligibility/patient-verification) request to the test host. Replace `<testApiKey>` and `<minorId>` with your own credentials.

```bash
curl -X POST https://test-api.rebateright.com.au/VerifyPatient \
  -H "x-api-key: <testApiKey>" \
  -H "x-minor-id: <minorId>" \
  -H "Content-Type: application/json" \
  -d '{
    "PatientFamilyName": "FLETCHER",
    "PatientGivenName": "Edmond",
    "PatientDateOfBirth": "1986-12-18",
    "PatientSex": "1",
    "PatientMedicareNumber": "4951525561",
    "PatientMedicareRefNumber": "2"
  }'
```

The patient is Edmond FLETCHER, from the FLETCHER family in [Integration test data](/test-data). RebateRight sends the request to Services Australia's test environment. You can also send it from the explorer on the Patient Verification page: enter your Test API Key and Minor ID, then select **Send**.

#### Read the answer

Medicare has verified Edmond's details, so `Verified` is `true` and every `Correct…` field is `null`:

```json
{
  "Verified": true,
  "Reason": "The patient information matches Medicare's records.",
  "ReasonCode": "Match",
  "CorrectMedicareNumber": null,
  "CorrectMedicareReferenceNumber": null,
  "CorrectGivenName": null,
  "CorrectFamilyName": null,
  "CorrectDateOfBirth": null,
  "CorrectSex": null
}
```

Branch on `Verified`, which can also be `false` or `null`. [Patient Verification](/api-reference/medicare-eligibility/patient-verification) sets out what each value means, what to do next and the corrections Medicare sends back. The Patient Verification page holds a recorded example of each answer in its response panel.

Outside Sydney business hours, Services Australia's test environment can return an error in place of a verdict. The note at the top of [Integration test data](/test-data) says what to do.

#### Choose your next request

#### [Check eligibility](/api-reference/medicare-eligibility/eligibility-check)

Ask whether Medicare will pay for up to 50 MBS items in one submission, with the reasoning behind every answer.

#### [Claim](/claiming)

Lodge bulk bill, patient and DVA claims electronically with Services Australia.

#### [Record immunisations](/air)

Record vaccinations on the Australian Immunisation Register (AIR) and read immunisation history.

Claiming and the AIR need each clinic's Minor ID registered with Services Australia first, as [Minor ID and the HW027 form](/minor-id) sets out.