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

# Modify Subscription Mandate

> Update mandate amount for a UPI subscription via the Partner API.



## OpenAPI

````yaml openapi/v2-subscriptions.json POST /pg/subscriptions/{subscription_id}/modify_mandate/
openapi: 3.0.0
info:
  title: Eximpe Payment Gateway API - V2 Subscriptions
  description: >-
    V2 subscription creation endpoints with simplified standing instruction
    fields.
  license:
    name: Proprietary
  version: 2.0.0
servers:
  - url: https://api-pacb-uat.eximpe.com
    description: Payment Gateway Sandbox URL
security:
  - clientAuth: []
    clientSecretAuth: []
    apiVersionHeader: []
paths:
  /pg/subscriptions/{subscription_id}/modify_mandate/:
    post:
      tags:
        - Subscriptions
      summary: Modify Subscription Mandate
      description: Update mandate amount for a subscription.
      operationId: v2_post_pg_subscriptions_subscription_id_modify_mandate_
      parameters:
        - name: subscription_id
          in: path
          required: true
          description: Subscription UID.
          schema:
            type: string
      requestBody:
        description: Mandate modification payload. The amount field is required.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModifySubscriptionMandateRequest'
      responses:
        '200':
          description: Subscription mandate modification request sent successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModifySubscriptionMandateResponse'
        '400':
          description: Validation / business error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Configuration error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: ERR_SERVICE_ERROR_000
                  message: Payment gateway error
                  details:
                    error: An unexpected error occurred. Please try again later
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - clientAuth: []
          clientSecretAuth: []
          merchantAuth: []
          apiVersionHeader: []
components:
  schemas:
    ModifySubscriptionMandateRequest:
      type: object
      required:
        - amount
      properties:
        amount:
          type: string
          description: Amount in decimal format (e.g., "100.00")
          pattern: ^\d+\.\d{2}$
    ModifySubscriptionMandateResponse:
      type: object
      required:
        - success
        - message
        - data
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            subscription_id:
              type: string
            mandate_modified:
              type: boolean
            updated_amount:
              type: string
            subscription_status:
              type: string
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
  securitySchemes:
    clientAuth:
      type: apiKey
      name: X-Client-ID
      in: header
      description: >-
        **Client Application ID** - Your unique application identifier used to
        authenticate API requests. You can find your Client ID in the Developer
        Settings section of the merchant dashboard.
      x-displayName: Client ID
      x-example: your-client-id
    clientSecretAuth:
      type: apiKey
      name: X-Client-Secret
      in: header
      description: >-
        **Client Secret Key** - Your secret key used alongside the Client ID for
        secure authentication. Keep this confidential and never expose it in
        client-side code. Available in the Developer Settings section of the
        merchant dashboard.
      x-displayName: Client Secret
      x-example: your-client-secret
    apiVersionHeader:
      type: apiKey
      name: X-API-Version
      in: header
      description: >-
        **API Version** - Specifies which version of the API to use (e.g.,
        '2.X.X'). This header allows you to control which API version your
        integration uses.
      x-displayName: API Version
    merchantAuth:
      type: apiKey
      name: X-Merchant-ID
      in: header
      description: >-
        **Merchant Identifier** - The unique ID for the merchant account. This
        is required for PSP (Payment Service Provider) merchants who manage
        multiple merchant accounts. You can find merchant IDs in the Merchant
        Management section of the dashboard.
      x-displayName: Merchant ID
      x-example: your-merchant-id

````