For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.rebateright.com.au/api-reference/medicare-claiming/interactive-patient-claims/llms.txt. For full documentation content, see https://docs.rebateright.com.au/api-reference/medicare-claiming/interactive-patient-claims/llms-full.txt.

# Interactive Patient Claim — Specialist

POST https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1
Content-Type: application/json

The **specialist** interactive patient claim endpoint submits a Medicare patient claim for specialist or diagnostic imaging services.

One of the following must hold, otherwise Medicare rejects the claim:

- `referral.typeCode` is `D` (diagnostic imaging) or `S` (specialist), or
- `referralOverrideCode` is `H`, `L`, `E`, or `N`, or
- at least one service has `selfDeemedCode` `SD` or `SS`.

**Request** and successful **`200`** payloads reuse the same schemas as the **general** endpoint in **`components.schemas`**
in this file (`PciwPatientClaimInteractiveRequestBody`, `PciwPatientClaimInteractiveSuccessResponse`).
Specialist-only fields are the second branch of the request `allOf` below (hospital / facility / LSP on services are
already defined on the general request schema). **`400`** uses `PciwMedicareServiceMessageError`.


Reference: https://docs.rebateright.com.au/api-reference/medicare-claiming/interactive-patient-claims/interactive-patient-claim-specialist

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /Medicare/patientclaiminteractive/specialist/v1:
    post:
      operationId: interactive-patient-claim-specialist
      summary: Interactive Patient Claim — Specialist
      description: >
        The **specialist** interactive patient claim endpoint submits a Medicare
        patient claim for specialist or diagnostic imaging services.


        One of the following must hold, otherwise Medicare rejects the claim:


        - `referral.typeCode` is `D` (diagnostic imaging) or `S` (specialist),
        or

        - `referralOverrideCode` is `H`, `L`, `E`, or `N`, or

        - at least one service has `selfDeemedCode` `SD` or `SS`.


        **Request** and successful **`200`** payloads reuse the same schemas as
        the **general** endpoint in **`components.schemas`**

        in this file (`PciwPatientClaimInteractiveRequestBody`,
        `PciwPatientClaimInteractiveSuccessResponse`).

        Specialist-only fields are the second branch of the request `allOf`
        below (hospital / facility / LSP on services are

        already defined on the general request schema). **`400`** uses
        `PciwMedicareServiceMessageError`.
      tags:
        - >-
          subpackage_medicareClaiming.subpackage_medicareClaiming/interactivePatientClaims
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PciwPatientClaimInteractiveSuccessResponse
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PciwMedicareServiceMessageError'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                correlationId:
                  type: string
                  description: >-
                    Optional. Supply a unique transaction ID in the format
                    `urn:uuid:{MinorId}{16 hex chars}`. If omitted, RebateRight
                    generates one automatically.
                patientClaimInteractive:
                  $ref: >-
                    #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractive
              required:
                - patientClaimInteractive
servers:
  - url: https://api.rebateright.com.au
  - url: https://test-api.rebateright.com.au
components:
  schemas:
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveServiceProvider:
      type: object
      properties:
        providerNumber:
          type: string
      required:
        - providerNumber
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveServiceProvider
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePayeeProvider:
      type: object
      properties:
        providerNumber:
          type: string
      required:
        - providerNumber
      description: >-
        Optional. The provider to whom the Medicare benefit is paid, if
        different from the servicing provider.
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePayeeProvider
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatientIdentity:
      type: object
      properties:
        givenName:
          type: string
        familyName:
          type: string
        dateOfBirth:
          type: string
          format: date
      required:
        - givenName
        - familyName
        - dateOfBirth
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatientIdentity
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatientMedicare:
      type: object
      properties:
        memberNumber:
          type: string
        memberRefNumber:
          type: string
      required:
        - memberNumber
        - memberRefNumber
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatientMedicare
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatient:
      type: object
      properties:
        identity:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatientIdentity
        medicare:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatientMedicare
      required:
        - identity
        - medicare
      title: PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatient
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantIdentity:
      type: object
      properties:
        givenName:
          type: string
        familyName:
          type: string
        dateOfBirth:
          type: string
          format: date
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantIdentity
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantMedicare:
      type: object
      properties:
        memberNumber:
          type: string
        memberRefNumber:
          type: string
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantMedicare
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantEftDetails:
      type: object
      properties:
        accountName:
          type: string
        accountNumber:
          type: string
        bsbCode:
          type: string
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantEftDetails
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantResidentialAddress:
      type: object
      properties:
        addressLineOne:
          type: string
        addressLineTwo:
          type: string
        locality:
          type: string
        postcode:
          type: string
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantResidentialAddress
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantContactDetails:
      type: object
      properties:
        name:
          type: string
        phoneNumber:
          type: string
        emailAddress:
          type: string
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantContactDetails
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimant:
      type: object
      properties:
        identity:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantIdentity
        medicare:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantMedicare
        eftDetails:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantEftDetails
        residentialAddress:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantResidentialAddress
        contactDetails:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimantContactDetails
      description: >-
        Optional. Include when the claimant differs from the patient, or to
        supply bank or address details.
      title: PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimant
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveMedicalEventItemsServiceItems:
      type: object
      properties:
        id:
          type: string
        itemNumber:
          type: string
        chargeAmount:
          type: string
        hospitalInd:
          type: string
        facilityId:
          type: string
        patientContribAmount:
          type: string
        numberOfPatientsSeen:
          type: string
        aftercareOverrideInd:
          type: string
        duplicateServiceOverrideInd:
          type: string
        multipleProcedureOverrideInd:
          type: string
        restrictiveOverrideCode:
          type: string
        timeDuration:
          type: string
        text:
          type: string
        fieldQuantity:
          type: string
        lspNumber:
          type: string
        rule3ExemptInd:
          type: string
        s4b3ExemptInd:
          type: string
      required:
        - id
        - itemNumber
        - chargeAmount
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveMedicalEventItemsServiceItems
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveMedicalEventItems:
      type: object
      properties:
        id:
          type: string
        medicalEventDate:
          type: string
          format: date
        medicalEventTime:
          type: string
        service:
          type: array
          items:
            $ref: >-
              #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveMedicalEventItemsServiceItems
      required:
        - id
        - medicalEventDate
        - service
      title: >-
        PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveMedicalEventItems
    PciwPatientClaimInteractiveRequestBodyPatientClaimInteractive:
      type: object
      properties:
        accountPaidInd:
          type: string
          description: '`Y` if the account has been paid in full, `N` if not paid.'
        authorisationDate:
          type: string
          format: date
          description: Date the claim was authorised. Must not be in the future.
        submissionAuthorityInd:
          type: string
          description: >-
            Must be `Y`. Confirms the claimant has authorised the practice to
            submit on their behalf.
        accountReferenceId:
          type: string
          description: >-
            Optional. A reference used by the submitter to identify the claim.
            1–9 alphanumeric characters.
        serviceProvider:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveServiceProvider
        payeeProvider:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePayeeProvider
          description: >-
            Optional. The provider to whom the Medicare benefit is paid, if
            different from the servicing provider.
        patient:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractivePatient
        claimant:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveClaimant
          description: >-
            Optional. Include when the claimant differs from the patient, or to
            supply bank or address details.
        medicalEvent:
          type: array
          items:
            $ref: >-
              #/components/schemas/PciwPatientClaimInteractiveRequestBodyPatientClaimInteractiveMedicalEventItems
      required:
        - accountPaidInd
        - authorisationDate
        - submissionAuthorityInd
        - serviceProvider
        - patient
        - medicalEvent
      title: PciwPatientClaimInteractiveRequestBodyPatientClaimInteractive
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: >-
            Referring or requesting provider number; must differ from the
            servicing provider.
      required:
        - providerNumber
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralProvider
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralTypeCode:
      type: string
      enum:
        - D
        - S
      description: |
        Referral / request type (exactly one value per referral):

        | Code | Meaning |
        |------|---------|
        | D | Diagnostic imaging request |
        | S | Specialist or allied health referral |
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralTypeCode
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralPeriodCode:
      type: string
      enum:
        - S
        - 'N'
        - I
      description: |
        Required when **typeCode** is **S**. Referral period type:

        | Code | Meaning |
        |------|---------|
        | S | Standard period |
        | N | Non-standard — you must also send **period** (months) |
        | I | Indefinite |
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralPeriodCode
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferral:
      type: object
      properties:
        provider:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralProvider
        issueDate:
          type: string
          format: date
          description: Referral issue date; not in the future or before patient DOB.
        typeCode:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralTypeCode
          description: |
            Referral / request type (exactly one value per referral):

            | Code | Meaning |
            |------|---------|
            | D | Diagnostic imaging request |
            | S | Specialist or allied health referral |
        periodCode:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralPeriodCode
          description: |
            Required when **typeCode** is **S**. Referral period type:

            | Code | Meaning |
            |------|---------|
            | S | Standard period |
            | N | Non-standard — you must also send **period** (months) |
            | I | Indefinite |
        period:
          type: string
          description: >-
            Required when **periodCode** is **N** — number of months allowed
            (1–98).
      description: >
        Specialist or diagnostic imaging referral. Mutually exclusive with
        **referralOverrideCode** when

        you are sending an override instead of a referral object.
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferral
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralOverrideCode:
      type: string
      enum:
        - H
        - L
        - E
        - 'N'
      description: >
        Use when there is no standard referral. Cannot be combined with a
        **referral** object in the same

        request.


        | Code | Meaning |

        |------|---------|

        | H | Hospital |

        | L | Lost referral |

        | E | Emergency |

        | N | Not required |
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralOverrideCode
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItemsServiceItemsSelfDeemedCode:
      type: string
      enum:
        - SD
        - SS
      description: |
        Self-deemed or substituted service (when rules allow):

        | Code | Meaning |
        |------|---------|
        | SD | Self-deemed |
        | SS | Substituted service |
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItemsServiceItemsSelfDeemedCode
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItemsServiceItems:
      type: object
      properties:
        selfDeemedCode:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItemsServiceItemsSelfDeemedCode
          description: |
            Self-deemed or substituted service (when rules allow):

            | Code | Meaning |
            |------|---------|
            | SD | Self-deemed |
            | SS | Substituted service |
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItemsServiceItems
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItems:
      type: object
      properties:
        service:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItemsServiceItems
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItems
    MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractive:
      type: object
      properties:
        referral:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferral
          description: >
            Specialist or diagnostic imaging referral. Mutually exclusive with
            **referralOverrideCode** when

            you are sending an override instead of a referral object.
        referralOverrideCode:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveReferralOverrideCode
          description: >
            Use when there is no standard referral. Cannot be combined with a
            **referral** object in the same

            request.


            | Code | Meaning |

            |------|---------|

            | H | Hospital |

            | L | Lost referral |

            | E | Emergency |

            | N | Not required |
        medicalEvent:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractiveMedicalEventItems
      required:
        - medicalEvent
      title: >-
        MedicarePatientclaiminteractiveSpecialistV1PostRequestBodyContentApplicationJsonSchemaPatientClaimInteractive
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentError:
      type: object
      properties:
        code:
          type: integer
        text:
          type: string
      title: PciwPatientClaimInteractiveSuccessResponseClaimAssessmentError
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentClaimantCurrentMembership:
      type: object
      properties:
        memberNumber:
          type: string
        memberRefNumber:
          type: string
      title: >-
        PciwPatientClaimInteractiveSuccessResponseClaimAssessmentClaimantCurrentMembership
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentClaimant:
      type: object
      properties:
        currentMembership:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentClaimantCurrentMembership
      title: PciwPatientClaimInteractiveSuccessResponseClaimAssessmentClaimant
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentPatientCurrentMembership:
      type: object
      properties:
        memberNumber:
          type: string
        memberRefNumber:
          type: string
      title: >-
        PciwPatientClaimInteractiveSuccessResponseClaimAssessmentPatientCurrentMembership
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentPatient:
      type: object
      properties:
        currentMembership:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentPatientCurrentMembership
      title: PciwPatientClaimInteractiveSuccessResponseClaimAssessmentPatient
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItemsServiceItemsError:
      type: object
      properties:
        code:
          type: integer
        text:
          type: string
      title: >-
        PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItemsServiceItemsError
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItemsServiceItems:
      type: object
      properties:
        id:
          type: string
        itemNumber:
          type: string
        chargeAmount:
          type: string
        assessmentCode:
          type: string
        benefitPaid:
          type: string
        numberOfPatientsSeen:
          type: string
        error:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItemsServiceItemsError
      required:
        - id
        - itemNumber
        - chargeAmount
      title: >-
        PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItemsServiceItems
    PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItems:
      type: object
      properties:
        id:
          type: string
        eventDate:
          type: string
          format: date
        service:
          type: array
          items:
            $ref: >-
              #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItemsServiceItems
      required:
        - id
        - eventDate
        - service
      title: >-
        PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItems
    PciwPatientClaimInteractiveSuccessResponseClaimAssessment:
      type: object
      properties:
        claimId:
          type: string
        error:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentError
        claimant:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentClaimant
        patient:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentPatient
        medicalEvent:
          type: array
          items:
            $ref: >-
              #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessmentMedicalEventItems
      required:
        - claimId
      title: PciwPatientClaimInteractiveSuccessResponseClaimAssessment
    PciwPatientClaimInteractiveSuccessResponse:
      type: object
      properties:
        status:
          type: string
        correlationId:
          type: string
        claimAssessment:
          $ref: >-
            #/components/schemas/PciwPatientClaimInteractiveSuccessResponseClaimAssessment
      required:
        - status
        - correlationId
        - claimAssessment
      title: PciwPatientClaimInteractiveSuccessResponse
    PciwMedicareServiceMessageErrorServiceMessageItems:
      type: object
      properties:
        code:
          type: string
          description: Medicare error code.
        severity:
          type: string
          description: Severity for this message (e.g. `Error`).
        reason:
          type: string
          description: Human-readable explanation.
      required:
        - code
        - severity
        - reason
      title: PciwMedicareServiceMessageErrorServiceMessageItems
    PciwMedicareServiceMessageError:
      type: object
      properties:
        highestSeverity:
          type: string
          description: Highest severity across all messages (typically `Error`).
        correlationId:
          type: string
          description: Echo of the request `correlationId` for tracing.
        serviceMessage:
          type: array
          items:
            $ref: >-
              #/components/schemas/PciwMedicareServiceMessageErrorServiceMessageItems
          description: One or more Medicare validation or business-rule messages.
      required:
        - highestSeverity
        - correlationId
        - serviceMessage
      title: PciwMedicareServiceMessageError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    minorId:
      type: apiKey
      in: header
      name: x-minor-id

```

## SDK Code Examples

```python Pended
import requests

url = "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1"

payload = { "patientClaimInteractive": {
        "medicalEvent": [
            {
                "service": [
                    {
                        "id": "1001",
                        "itemNumber": "104",
                        "chargeAmount": "25000"
                    }
                ],
                "id": "01",
                "medicalEventDate": "2026-04-01"
            }
        ],
        "referralOverrideCode": "H",
        "accountPaidInd": "N",
        "authorisationDate": "2026-04-13",
        "submissionAuthorityInd": "Y",
        "serviceProvider": { "providerNumber": "2447781L" },
        "patient": {
            "identity": {
                "dateOfBirth": "1986-12-18",
                "familyName": "FLETCHER",
                "givenName": "Edmond"
            },
            "medicare": {
                "memberNumber": "4951525561",
                "memberRefNumber": "2"
            }
        },
        "claimant": {
            "identity": {
                "dateOfBirth": "1986-12-18",
                "familyName": "FLETCHER",
                "givenName": "Edmond"
            },
            "medicare": {
                "memberNumber": "4951525561",
                "memberRefNumber": "2"
            }
        }
    } }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Pended
const url = 'https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"patientClaimInteractive":{"medicalEvent":[{"service":[{"id":"1001","itemNumber":"104","chargeAmount":"25000"}],"id":"01","medicalEventDate":"2026-04-01"}],"referralOverrideCode":"H","accountPaidInd":"N","authorisationDate":"2026-04-13","submissionAuthorityInd":"Y","serviceProvider":{"providerNumber":"2447781L"},"patient":{"identity":{"dateOfBirth":"1986-12-18","familyName":"FLETCHER","givenName":"Edmond"},"medicare":{"memberNumber":"4951525561","memberRefNumber":"2"}},"claimant":{"identity":{"dateOfBirth":"1986-12-18","familyName":"FLETCHER","givenName":"Edmond"},"medicare":{"memberNumber":"4951525561","memberRefNumber":"2"}}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Pended
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1"

	payload := strings.NewReader("{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-01\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"N\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    }\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Pended
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-01\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"N\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    }\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Pended
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-01\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"N\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    }\n  }\n}")
  .asString();
```

```php Pended
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1', [
  'body' => '{
  "patientClaimInteractive": {
    "medicalEvent": [
      {
        "service": [
          {
            "id": "1001",
            "itemNumber": "104",
            "chargeAmount": "25000"
          }
        ],
        "id": "01",
        "medicalEventDate": "2026-04-01"
      }
    ],
    "referralOverrideCode": "H",
    "accountPaidInd": "N",
    "authorisationDate": "2026-04-13",
    "submissionAuthorityInd": "Y",
    "serviceProvider": {
      "providerNumber": "2447781L"
    },
    "patient": {
      "identity": {
        "dateOfBirth": "1986-12-18",
        "familyName": "FLETCHER",
        "givenName": "Edmond"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "2"
      }
    },
    "claimant": {
      "identity": {
        "dateOfBirth": "1986-12-18",
        "familyName": "FLETCHER",
        "givenName": "Edmond"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "2"
      }
    }
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Pended
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-01\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"N\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1986-12-18\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Edmond\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"2\"\n      }\n    }\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Pended
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["patientClaimInteractive": [
    "medicalEvent": [
      [
        "service": [
          [
            "id": "1001",
            "itemNumber": "104",
            "chargeAmount": "25000"
          ]
        ],
        "id": "01",
        "medicalEventDate": "2026-04-01"
      ]
    ],
    "referralOverrideCode": "H",
    "accountPaidInd": "N",
    "authorisationDate": "2026-04-13",
    "submissionAuthorityInd": "Y",
    "serviceProvider": ["providerNumber": "2447781L"],
    "patient": [
      "identity": [
        "dateOfBirth": "1986-12-18",
        "familyName": "FLETCHER",
        "givenName": "Edmond"
      ],
      "medicare": [
        "memberNumber": "4951525561",
        "memberRefNumber": "2"
      ]
    ],
    "claimant": [
      "identity": [
        "dateOfBirth": "1986-12-18",
        "familyName": "FLETCHER",
        "givenName": "Edmond"
      ],
      "medicare": [
        "memberNumber": "4951525561",
        "memberRefNumber": "2"
      ]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

```python Assessed - Update Bank Details
import requests

url = "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1"

payload = { "patientClaimInteractive": {
        "medicalEvent": [
            {
                "service": [
                    {
                        "id": "1001",
                        "itemNumber": "104",
                        "chargeAmount": "25000"
                    }
                ],
                "id": "01",
                "medicalEventDate": "2026-04-13"
            }
        ],
        "referral": {
            "provider": { "providerNumber": "2447791K" },
            "issueDate": "2026-01-01",
            "typeCode": "S",
            "periodCode": "S"
        },
        "accountPaidInd": "Y",
        "authorisationDate": "2026-04-13",
        "submissionAuthorityInd": "Y",
        "serviceProvider": { "providerNumber": "2447781L" },
        "patient": {
            "identity": {
                "dateOfBirth": "1993-08-14",
                "familyName": "NASH",
                "givenName": "Hazel"
            },
            "medicare": {
                "memberNumber": "2954536421",
                "memberRefNumber": "1"
            }
        },
        "claimant": {
            "identity": {
                "dateOfBirth": "1993-08-14",
                "familyName": "NASH",
                "givenName": "Hazel"
            },
            "medicare": {
                "memberNumber": "2954536421",
                "memberRefNumber": "1"
            }
        }
    } }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Assessed - Update Bank Details
const url = 'https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"patientClaimInteractive":{"medicalEvent":[{"service":[{"id":"1001","itemNumber":"104","chargeAmount":"25000"}],"id":"01","medicalEventDate":"2026-04-13"}],"referral":{"provider":{"providerNumber":"2447791K"},"issueDate":"2026-01-01","typeCode":"S","periodCode":"S"},"accountPaidInd":"Y","authorisationDate":"2026-04-13","submissionAuthorityInd":"Y","serviceProvider":{"providerNumber":"2447781L"},"patient":{"identity":{"dateOfBirth":"1993-08-14","familyName":"NASH","givenName":"Hazel"},"medicare":{"memberNumber":"2954536421","memberRefNumber":"1"}},"claimant":{"identity":{"dateOfBirth":"1993-08-14","familyName":"NASH","givenName":"Hazel"},"medicare":{"memberNumber":"2954536421","memberRefNumber":"1"}}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Assessed - Update Bank Details
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1"

	payload := strings.NewReader("{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\"\n      }\n    ],\n    \"referral\": {\n      \"provider\": {\n        \"providerNumber\": \"2447791K\"\n      },\n      \"issueDate\": \"2026-01-01\",\n      \"typeCode\": \"S\",\n      \"periodCode\": \"S\"\n    },\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Assessed - Update Bank Details
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\"\n      }\n    ],\n    \"referral\": {\n      \"provider\": {\n        \"providerNumber\": \"2447791K\"\n      },\n      \"issueDate\": \"2026-01-01\",\n      \"typeCode\": \"S\",\n      \"periodCode\": \"S\"\n    },\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Assessed - Update Bank Details
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\"\n      }\n    ],\n    \"referral\": {\n      \"provider\": {\n        \"providerNumber\": \"2447791K\"\n      },\n      \"issueDate\": \"2026-01-01\",\n      \"typeCode\": \"S\",\n      \"periodCode\": \"S\"\n    },\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}")
  .asString();
```

```php Assessed - Update Bank Details
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1', [
  'body' => '{
  "patientClaimInteractive": {
    "medicalEvent": [
      {
        "service": [
          {
            "id": "1001",
            "itemNumber": "104",
            "chargeAmount": "25000"
          }
        ],
        "id": "01",
        "medicalEventDate": "2026-04-13"
      }
    ],
    "referral": {
      "provider": {
        "providerNumber": "2447791K"
      },
      "issueDate": "2026-01-01",
      "typeCode": "S",
      "periodCode": "S"
    },
    "accountPaidInd": "Y",
    "authorisationDate": "2026-04-13",
    "submissionAuthorityInd": "Y",
    "serviceProvider": {
      "providerNumber": "2447781L"
    },
    "patient": {
      "identity": {
        "dateOfBirth": "1993-08-14",
        "familyName": "NASH",
        "givenName": "Hazel"
      },
      "medicare": {
        "memberNumber": "2954536421",
        "memberRefNumber": "1"
      }
    },
    "claimant": {
      "identity": {
        "dateOfBirth": "1993-08-14",
        "familyName": "NASH",
        "givenName": "Hazel"
      },
      "medicare": {
        "memberNumber": "2954536421",
        "memberRefNumber": "1"
      }
    }
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Assessed - Update Bank Details
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"104\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2026-04-13\"\n      }\n    ],\n    \"referral\": {\n      \"provider\": {\n        \"providerNumber\": \"2447791K\"\n      },\n      \"issueDate\": \"2026-01-01\",\n      \"typeCode\": \"S\",\n      \"periodCode\": \"S\"\n    },\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2026-04-13\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1993-08-14\",\n        \"familyName\": \"NASH\",\n        \"givenName\": \"Hazel\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"2954536421\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Assessed - Update Bank Details
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["patientClaimInteractive": [
    "medicalEvent": [
      [
        "service": [
          [
            "id": "1001",
            "itemNumber": "104",
            "chargeAmount": "25000"
          ]
        ],
        "id": "01",
        "medicalEventDate": "2026-04-13"
      ]
    ],
    "referral": [
      "provider": ["providerNumber": "2447791K"],
      "issueDate": "2026-01-01",
      "typeCode": "S",
      "periodCode": "S"
    ],
    "accountPaidInd": "Y",
    "authorisationDate": "2026-04-13",
    "submissionAuthorityInd": "Y",
    "serviceProvider": ["providerNumber": "2447781L"],
    "patient": [
      "identity": [
        "dateOfBirth": "1993-08-14",
        "familyName": "NASH",
        "givenName": "Hazel"
      ],
      "medicare": [
        "memberNumber": "2954536421",
        "memberRefNumber": "1"
      ]
    ],
    "claimant": [
      "identity": [
        "dateOfBirth": "1993-08-14",
        "familyName": "NASH",
        "givenName": "Hazel"
      ],
      "medicare": [
        "memberNumber": "2954536421",
        "memberRefNumber": "1"
      ]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

```python Rejected - Card Mismatch
import requests

url = "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1"

payload = { "patientClaimInteractive": {
        "medicalEvent": [
            {
                "service": [
                    {
                        "id": "1001",
                        "itemNumber": "23",
                        "chargeAmount": "25000"
                    }
                ],
                "id": "01",
                "medicalEventDate": "2025-08-20"
            }
        ],
        "referralOverrideCode": "H",
        "accountPaidInd": "Y",
        "authorisationDate": "2025-08-20",
        "submissionAuthorityInd": "Y",
        "serviceProvider": { "providerNumber": "2447781L" },
        "patient": {
            "identity": {
                "dateOfBirth": "1982-02-28",
                "familyName": "FLETCHER",
                "givenName": "Ricky"
            },
            "medicare": {
                "memberNumber": "4951525561",
                "memberRefNumber": "1"
            }
        },
        "claimant": {
            "identity": {
                "dateOfBirth": "1982-02-28",
                "familyName": "FLETCHER",
                "givenName": "Ricky"
            },
            "medicare": {
                "memberNumber": "4951525561",
                "memberRefNumber": "1"
            }
        }
    } }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Rejected - Card Mismatch
const url = 'https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"patientClaimInteractive":{"medicalEvent":[{"service":[{"id":"1001","itemNumber":"23","chargeAmount":"25000"}],"id":"01","medicalEventDate":"2025-08-20"}],"referralOverrideCode":"H","accountPaidInd":"Y","authorisationDate":"2025-08-20","submissionAuthorityInd":"Y","serviceProvider":{"providerNumber":"2447781L"},"patient":{"identity":{"dateOfBirth":"1982-02-28","familyName":"FLETCHER","givenName":"Ricky"},"medicare":{"memberNumber":"4951525561","memberRefNumber":"1"}},"claimant":{"identity":{"dateOfBirth":"1982-02-28","familyName":"FLETCHER","givenName":"Ricky"},"medicare":{"memberNumber":"4951525561","memberRefNumber":"1"}}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Rejected - Card Mismatch
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1"

	payload := strings.NewReader("{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"23\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2025-08-20\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2025-08-20\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Rejected - Card Mismatch
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"23\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2025-08-20\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2025-08-20\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Rejected - Card Mismatch
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"23\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2025-08-20\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2025-08-20\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}")
  .asString();
```

```php Rejected - Card Mismatch
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1', [
  'body' => '{
  "patientClaimInteractive": {
    "medicalEvent": [
      {
        "service": [
          {
            "id": "1001",
            "itemNumber": "23",
            "chargeAmount": "25000"
          }
        ],
        "id": "01",
        "medicalEventDate": "2025-08-20"
      }
    ],
    "referralOverrideCode": "H",
    "accountPaidInd": "Y",
    "authorisationDate": "2025-08-20",
    "submissionAuthorityInd": "Y",
    "serviceProvider": {
      "providerNumber": "2447781L"
    },
    "patient": {
      "identity": {
        "dateOfBirth": "1982-02-28",
        "familyName": "FLETCHER",
        "givenName": "Ricky"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "1"
      }
    },
    "claimant": {
      "identity": {
        "dateOfBirth": "1982-02-28",
        "familyName": "FLETCHER",
        "givenName": "Ricky"
      },
      "medicare": {
        "memberNumber": "4951525561",
        "memberRefNumber": "1"
      }
    }
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Rejected - Card Mismatch
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"patientClaimInteractive\": {\n    \"medicalEvent\": [\n      {\n        \"service\": [\n          {\n            \"id\": \"1001\",\n            \"itemNumber\": \"23\",\n            \"chargeAmount\": \"25000\"\n          }\n        ],\n        \"id\": \"01\",\n        \"medicalEventDate\": \"2025-08-20\"\n      }\n    ],\n    \"referralOverrideCode\": \"H\",\n    \"accountPaidInd\": \"Y\",\n    \"authorisationDate\": \"2025-08-20\",\n    \"submissionAuthorityInd\": \"Y\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"patient\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    },\n    \"claimant\": {\n      \"identity\": {\n        \"dateOfBirth\": \"1982-02-28\",\n        \"familyName\": \"FLETCHER\",\n        \"givenName\": \"Ricky\"\n      },\n      \"medicare\": {\n        \"memberNumber\": \"4951525561\",\n        \"memberRefNumber\": \"1\"\n      }\n    }\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Rejected - Card Mismatch
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["patientClaimInteractive": [
    "medicalEvent": [
      [
        "service": [
          [
            "id": "1001",
            "itemNumber": "23",
            "chargeAmount": "25000"
          ]
        ],
        "id": "01",
        "medicalEventDate": "2025-08-20"
      ]
    ],
    "referralOverrideCode": "H",
    "accountPaidInd": "Y",
    "authorisationDate": "2025-08-20",
    "submissionAuthorityInd": "Y",
    "serviceProvider": ["providerNumber": "2447781L"],
    "patient": [
      "identity": [
        "dateOfBirth": "1982-02-28",
        "familyName": "FLETCHER",
        "givenName": "Ricky"
      ],
      "medicare": [
        "memberNumber": "4951525561",
        "memberRefNumber": "1"
      ]
    ],
    "claimant": [
      "identity": [
        "dateOfBirth": "1982-02-28",
        "familyName": "FLETCHER",
        "givenName": "Ricky"
      ],
      "medicare": [
        "memberNumber": "4951525561",
        "memberRefNumber": "1"
      ]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/Medicare/patientclaiminteractive/specialist/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```