---
page_title: Execution- Interoperable
product: UPI Autopay
page_source: https://juspay.io/in/docs/upi-autopay/docs/upi-autopay/execution-interoperable
openapi: https://juspay.io/in/docs/api/swagger?document=https%3A%2F%2Fjuspay.io%2Fin%2Fdocs%2Fupi-autopay%2Fdocs%2Fupi-autopay%2Fexecution-interoperable
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-autopay/llms.txt
---

## API Version: default

# Mandate execution - Interoperable



API to execute a debit through Juspay on a UPI Autopay mandate registered outside Juspay. With interoperable mandates, the gateway that executes can be different from both the gateway where the mandate was registered and the gateway that sent the PDN.

Juspay runs routing across your interoperability-enabled gateway accounts. It excludes any gateway that does not accept executions for mandates registered elsewhere.

This API only covers execution. Lifecycle operations (revoke, update, pause and resume) are still handled by the PG where the mandate was registered. To move those to another PG, use the Port Mandate API.

Prerequisites:

* The mandate must be interoperable. OTM and SBMD mandates are not supported.
* A successful PDN must exist for this debit.
* At least one of your gateway accounts must have your MIC configured, interoperability enabled, and must accept executions for mandates registered elsewhere. description here...

## Endpoints:
- Sandbox: https://sandbox.juspay.in/txns

- Production: https://api.juspay.in/txns

## Request Type: 
POST

## Content-Type: 
application/json

## Authorization:

#### Basic Auth:
- Value: Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
- Tags: Base64 Encoded Username:Password, Required
## Headers:

#### Content-Type:
- Value: application/json
- Tags: String

#### version:
- Value: 2019-05-20
- Tags: String
## Sample Code Snippets:

### Sample Request:

#### Request Code Snippet:

```request
curl --location 'https://api.juspay.in/txns' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic N0JBRDA4OUExRjYwNEYwREEyNDlCNjY3QTVCMUQzM0Q6' \
--header 'version: 2019-05-20' \
--data-raw '{
    "order": {
        "order_id": "interop-order-98722261154",
        "amount": "2.00",
        "currency": "INR",
        "metaData": "{\"JUSPAY:gateway_reference_id\":\"hsbc\"}"
    },
    "merchant_id": "azharamin",
    "amount": "2.00",
    "currency": "INR",
    "customer_id": "cst_zqqmw0v4exbhvv2zzdze",
    "format": "json",
    "payment_method_type": "UPI",
    "payment_method": "UPI_COLLECT",
    "payment_rule": {
        "payment_flows": {
            "inter_operability_flow": {
                "status": "REQUIRED",
                "info": {
                    "umn": "01a0a4c49305720e9641b78297a01717@ypay",
                    "org_mandate_id": "AXB11gsqszvoufocmozaKmDhgrNRknBCpZM",
                    "original_merchant_request_id": "suc_-1789470729-1",
                    "payer_vpa": "7200620926@ypay",
                    "payer_name": "ABC",
                    "sequence_number": 4,
                    "frequency": "ASPRESENTED"
                }
            }
        }
    }
}

'
```

### Sample Response:

#### Response:
```plaintext
{
    "status": "AUTHORIZING",
    "offer_details": {
        "offers": []
    },
    "txn_id": "suc_-interop-order-98722261154-1",
    "payment": {
        "authentication": {
            "url": "https://api.juspay.in/v2/pay/finish/azharamin/mozqAT4LGJ1UjdjAhHF/interop-order-98722261154",
            "method": "GET"
        }
    },
    "txn_uuid": "mozqAT4LGJ1UjdjAhHF",
    "order_id": "interop-order-98722261154"
}
```

## Body Parameters:
### Basic Parameters:

#### order:
- Value:
  - **Order_id**:
    - Description: Order id against Merchant execution
    - Value: interop-order-98722261154
    - Tags: String, Required
  - **Amount**:
    - Description: Amount against which Mandate execution needs to be executed
    - Value: 2.00
    - Tags: String, Required
  - **Currency**:
    - Description: Default - INR
    - Value: INR
    - Tags: String
  - **MetaData**:
    - Description: If a specific gateway reference id needs to be passed ( Stringified JSON)
    - Value: {"JUSPAY:gateway_reference_id":"hsbc"}
    - Tags: String
- Tags: Object, Required

#### merchant_id:
- Description: Juspay given merchant_id
- Value: azharamin
- Tags: String, Required

#### amount:
- Description: Amount against which Mandate execution needs to be executed
- Value: 2.00
- Tags: String, Required

#### currency:
- Description: Default - INR
- Value: INR
- Tags: String

#### customer_id:
- Description: Juspays generated customer ID
- Value: cst_zqqmw0v4exbhvv2zzdze
- Tags: String, Required

#### format:
- Value: json
- Tags: String

#### payment_method_type:
- Description: Payment method type used against Mandate registration
- Value: UPI
- Tags: String

#### payment_method:
- Description: Payment method used against Mandate registration
- Value: UPI_COLLECT
- Tags: String, Required

#### payment_rule:
- Value:
  - **Payment_flows**:
    - Value:
      - **Inter_operability_flow**:
        - Value:
          - **Status**:
            - Value: REQUIRED
            - Tags: String, Required
          - **Info**:
            - Value:
              - **Umn**:
                - Description: NPCIs Mandate identifier
                - Value: 01a0a4c49305720e9641b78297a01717@ypay
                - Tags: String, Required
              - **Org_mandate_id**:
                - Description: UPI Request ID during Mandate registration
                - Value: AXB11gsqszvoufocmozaKmDhgrNRknBCpZM
                - Tags: String, Required
              - **Original_merchant_request_id**:
                - Description: Merchant request ID during Mandate registration
                - Value: suc_-1789470729-1
                - Tags: String, Required
              - **Payer_vpa**:
                - Description: Customers VPA ( same as Mandate registration)
                - Value: 7200620926@ypay
                - Tags: String, Required
              - **Payer_name**:
                - Description: Customers name ( same as Mandate registration)
                - Value: ABC
                - Tags: String, Required
              - **Sequence_number**:
                - Description: NPCIs Mandate recurring sequence identifier
                - Value: 4
                - Tags: String, Required
              - **Frequency**:
                - Description: Mandate frequency at Mandate registration
                - Value: ASPRESENTED
                - Tags: String
            - Tags: Object, Required
        - Tags: Object, Required
    - Tags: Object, Required
- Tags: Object, Required
## API Responses:

### 200 : Success:

#### status:
- Value: AUTHORIZING
- Tags: String

#### offer_details:
- Value:
  - **Offers**:
    - Tags: Array
- Tags: Object

#### txn_id:
- Value: suc_-interop-order-98722261154-1
- Tags: String

#### payment:
- Value:
  - **Authentication**:
    - Value:
      - **Url**:
        - Value: http://localhost:8080/v2/pay/finish/azharamin/mozqAT4LGJ1UjdjAhHF/interop-order-98722261154
        - Tags: String
      - **Method**:
        - Value: GET
        - Tags: String
    - Tags: Object
- Tags: Object

#### txn_uuid:
- Value: mozqAT4LGJ1UjdjAhHF
- Tags: String

#### order_id:
- Value: interop-order-98722261154
- Tags: String


---

## See Also

- [PDN-Interoperable](https://juspay.io/in/docs/upi-autopay/docs/upi-autopay/pdn-interoperable)
- [Payee Port Mandate](https://juspay.io/in/docs/upi-autopay/docs/upi-autopay/payee-port-mandate)
