---
page_title: Mandate Register
product: Juspay Billing
page_source: https://juspay.io/in/docs/juspay-billing/docs/billing/mandate-register
openapi: https://juspay.io/in/docs/api/swagger?document=https%3A%2F%2Fjuspay.io%2Fin%2Fdocs%2Fjuspay-billing%2Fdocs%2Fbilling%2Fmandate-register
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/juspay-billing/llms.txt
---

## API Version: default


# Mandate Register



Enter API 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/x-www-form-urlencoded
- Tags: String
## Sample Code Snippets:
### Sample Request:

#### Request Code Snippet:

```request
curl --location 'https://sandbox.juspay.in//billing' \
--header 'Authorization: Basic xxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
    "command": "update_attached_add_ons",
    "billing_execution_info_id": "12b7ffb1173446c0bdb1d91b42513298",
    "add_on_info": [
        {
            "metric_id": 4,
            "quantity": 3
        },
        {
            "metric_id": 3
        }
    ]
}'
```

### Sample Response:

#### Response:
```plaintext
{
    "list": [
        {
            "status": "INACTIVE",
            "pricing_tier": {
                "unit_amount": 0,
                "up_to": "INFINITY",
                "flat_fee": 1
            },
            "name": "addOn1",
            "metric_id": 1,
            "description": "sample add on metric"
        },
        {
            "status": "ACTIVE",
            "pricing_tier": {
                "unit_amount": 0,
                "up_to": "INFINITY",
                "flat_fee": 7
            },
            "name": "addOn2",
            "metric_id": 2,
            "description": "sample add on metric"
        },
        {
            "status": "ACTIVE",
            "pricing_tier": {
                "unit_amount": 0,
                "up_to": "INFINITY",
                "flat_fee": 14
            },
            "name": "addOn3",
            "metric_id": 3,
            "description": "sample add on metric"
        },
        {
            "status": "ACTIVE",
            "pricing_tier": {
                "unit_amount": 0,
                "up_to": "INFINITY",
                "flat_fee": 4
            },
            "name": "addOn4",
            "metric_id": 4,
            "description": "sample add on metric"
        }
    ],
    "total": 4,
    "object": "list"
}
```

## Body Parameters:
### Basic Parameters:

#### order_id:
- Value: Ord_1765191076
- Tags: String

#### merchant_id:
- Value: eulerqa_sandbox
- Tags: String

#### payment_method_type:
- Value: UPI
- Tags: String

#### payment_method:
- Value: UPI_COLLECT
- Tags: String

#### upi_vpa:
- Value: 7777777777@upi
- Tags: String

#### should_create_mandate:
- Value: true
- Tags: Boolean

#### redirect_after_payment:
- Value: true
- Tags: Boolean

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

#### mandate_type:
- Value: EMANDATE
- Tags: String
## API Responses:
### 200:

#### payment:
- Value:
  - **Authentication**:
    - Value:
      - **Method**:
        - Value: GET
        - Tags: String
      - **Url**:
        - Value: https://sandbox.juspay.in/v2/pay/start/eulerqa_sandbox/mozFS1mNCmY96k3aHHp?cardIssuerBankName%3DUPI_COLLECT%26cardType%3DUPI%26paymentMethod%3DUPI_COLLECT%26paymentMethodType%3DUPI
        - Tags: String
    - Tags: Object
- Tags: Object

#### status:
- Value: PENDING_VBV
- Tags: String

#### txn_uuid:
- Value: mozFS1mNCmY96k3aHHp
- Tags: String

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

#### order_id:
- Value: Ord_1765191076
- Tags: String

#### txn_id:
- Value: suc-Ord_1765191076-1
- Tags: String


---

## See Also

- [Create Order](https://juspay.io/in/docs/juspay-billing/docs/billing/create-order)
- [Order Status](https://juspay.io/in/docs/juspay-billing/docs/billing/order-status)
