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

# Get submerchant information

> Retrieve the information for a specific SubMerchant.



## OpenAPI

````yaml open-api-yaml/platforms-booster/get-submerchant-information.json GET /sub_merchants/{sub_merchant_id}
openapi: 3.0.0
info:
  title: SubMerchant API
  version: v3
servers: []
security: []
paths:
  /sub_merchants/{sub_merchant_id}:
    get:
      summary: Get SubMerchant Information
      description: Retrieve the information for a specific SubMerchant.
      parameters:
        - name: sub_merchant_id
          in: path
          required: true
          description: The ID of the SubMerchant to retrieve.
          schema:
            type: integer
        - in: header
          name: Content-Type
          required: true
          schema:
            type: string
            default: application/json
          description: Media type of the body sent to the API.
        - in: header
          name: X-Date
          required: true
          schema:
            type: string
            format: date-time
          description: ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)
        - in: header
          name: X-Login
          required: true
          schema:
            type: string
          description: Merchant X-Login API Key.
        - in: header
          name: Authorization
          required: true
          schema:
            type: string
          description: Authorization control hash.
        - in: header
          name: X-Idempotency-Key
          required: false
          schema:
            type: string
          description: >-
            Unique idempotency key for ensuring that the same request is not
            processed more than once.
      responses:
        '200':
          description: Successful request. Returns the SubMerchant details.
          content:
            application/json:
              schema:
                type: object
                properties:
                  sub_merchant_id:
                    type: integer
                    description: Identifier of the SubMerchant on our end.
                  markup_fee:
                    type: number
                    format: double
                    description: >-
                      Commission earned in each deposit. It is a percentual,
                      expressed in decimal. E.g.: value 2.00 represents %2.00
                  sub_merchant_name:
                    type: string
                    description: Represents the name of the SubMerchant.
                  email:
                    type: string
                    description: >-
                      Email of the main user in the SubMerchant. In case you may
                      want to match it with a user on your end, please request
                      SubMerchant to signup with that address.
                  status:
                    type: string
                    description: >-
                      Represents if the SubMerchant is either active or
                      inactive. Only active merchants can process transactions.
                    enum:
                      - ACTIVE
                      - INACTIVE
                  external_submerchant_id:
                    type: string
                    description: >-
                      Represents the SubMerchant identifier on your end, if this
                      information is included in the Referral Signup Form URL.
                  balance:
                    type: object
                    description: SubMerchant balance information.
                    properties:
                      currency:
                        type: string
                        description: Balance currency code.
                      total:
                        type: number
                        format: double
                        description: Total balance amount.
                      usable:
                        type: number
                        format: double
                        description: Usable balance amount.
                      available:
                        type: number
                        format: double
                        description: Available balance amount.
        '400':
          description: The request could not be processed due to a client-side error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: Error code identifying the specific error.
                  description:
                    type: string
                    description: >-
                      A human-readable message providing more details about the
                      error.
                  type:
                    type: string
                    description: The type of error that occurred.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.