> ## Documentation Index
> Fetch the complete documentation index at: https://docs.discountdrugnetwork.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Discount Info

> Use this endpoint to retrieve information about available discounts for a specified group.

## Endpoint

```http theme={null}
GET https://api.discountdrugnetwork.com/api/Drug/DiscountInfo
```

## Input Parameters

<ResponseField name="groupId" type="string" required>
  Reference back to the requested group ID.
</ResponseField>

## Response

<ResponseField name="groupId" type="string">
  Reference to the requested group ID.
</ResponseField>

<ResponseField name="cardholderID" type="string">
  The new cardholder identifier.
</ResponseField>

<ResponseField name="rxBIN" type="string">
  The BIN assigned to the group ID.
</ResponseField>

<ResponseField name="rxPCN" type="string">
  The PCN assigned to the group ID.
</ResponseField>


## OpenAPI

````yaml GET /api/Drug/DiscountInfo
openapi: 3.0.0
info:
  title: Discount Drug Network API
  version: 1.0.0
  description: >-
    API for authentication, drug searches, discount information, and related
    data.
servers:
  - url: https://api.discountdrugnetwork.com
    description: Production server
security: []
paths:
  /api/Drug/DiscountInfo:
    get:
      summary: Get Discount Info
      description: Retrieve information about available discounts for a specified group.
      parameters:
        - name: groupId
          in: query
          required: true
          schema:
            type: string
          description: Reference back to the requested group ID.
      responses:
        '200':
          description: Successfully retrieved discount information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  groupId:
                    type: string
                    description: Reference to the requested group ID.
                  cardholderID:
                    type: string
                    description: The new cardholder identifier.
                  rxBIN:
                    type: string
                    description: The BIN assigned to the group ID.
                  rxPCN:
                    type: string
                    description: The PCN assigned to the group ID.
        '400':
          description: Bad request - invalid group ID.
        '404':
          description: >-
            Not found - no discount information available for the provided group
            ID.

````