# Auth Token

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /oauth/token:
    post:
      summary: Auth Token
      deprecated: false
      description: >-

        :::highlight purple 📌

        This API is used to generate a Partner Token, which is required for
        authentication when calling other EnKash Prepaid Card APIs. The token
        must be passed in the Authorization header as a Bearer token in
        subsequent requests

        :::
      tags:
        - Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      parameters:
        - name: Cookie
          in: header
          description: ''
          required: true
          example: >-
            _cfuvid=f5yil.adja6WY54i74vh4ra.7UO0u2fMcW3Sd7nDXbM-1737528925925-0.0.1.1-604800000;
            JSESSIONID=3811B357B64F1FB6E0C97811B55F13AA
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/x-www-form-urlencoded
          schema:
            type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                username:
                  description: 'Mobile number of the partner '
                  example: '6660686687'
                  type: string
                password:
                  description: Password
                  example: Test@1234567
                  type: string
                grant_type:
                  example: password
                  type: string
                clientId:
                  description: Company Id of partner
                  example: CEKEY1SKIU
                  type: string
              required:
                - username
                - password
                - grant_type
                - clientId
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Success
      security:
        - basic: []
      x-apidog-folder: Prepaid Cards/APIs - Prepaid Card/Reloadable Prepaid Cards
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-13409509-run
components:
  schemas: {}
  securitySchemes:
    basic:
      type: http
      scheme: basic
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
