---
page_title: Billing execution ids against customer id
product: Juspay Billing
page_source: https://juspay.io/in/docs/juspay-billing/docs/billing/billing-execution-ids-against-customer-id
openapi: https://juspay.io/in/docs/api/swagger?document=https%3A%2F%2Fjuspay.io%2Fin%2Fdocs%2Fjuspay-billing%2Fdocs%2Fbilling%2Fbilling-execution-ids-against-customer-id
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/juspay-billing/llms.txt
---

## API Version: default


# Billing execution ids fetch against a customer id



Fetching all Billing Execution IDs associated with a given Customer ID. This helps in identifying and tracking all billing executions triggered for that specific customer across billing cycles.## Endpoints:
- Sandbox: https://sandbox.juspay.in/billing/execution-info/list/{customer_id}

- Production: https://api.juspay.in/billing/execution-info/list/{customer_id}

## Request Type: 
GET

## Content-Type: 
application/json

## Authorization:

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

#### x-merchantid:
- Value: Juspay_provided_merchant_id
- Tags: String

#### Content-Type:
- Value: application/json
- Tags: String
## Sample Code Snippets:
### Sample Request:

#### Request Code Snippet:

```request
curl --location 'https://sandbox.juspay.in/billing/execution-info/list/{customer_id}' \
--header 'x-merchantid: merchant_id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MjA0xxxxxxxxxxxxxxxxxZBOg=='
```

### Sample Response:

#### Response:
```plaintext
{
    "message": "Success",
    "merchant_id": "mandate_juspay",
    "success": true,
    "billing_execution_info": [
        {
            "source_object_id": "",
            "status": "ACTIVE",
            "plan_info": {
                "plan_type": "POST_DEBIT",
                "plan_model": "USAGE_BASED",
                "plan_status": "ACTIVE",
                "plan_created_at": "2026-03-06 14:05:47",
                "plan_currency": "INR",
                "plan_interval": "ASPRESENTED",
                "plan_name": "test3",
                "metric_info": [
                    {
                        "created_at": "2026-01-19T10:08:42Z",
                        "status": "ACTIVE",
                        "unit": "GB",
                        "id": 32,
                        "name": "Sbx-testing-1",
                        "pricing_type": "FIXED",
                        "currency": "INR",
                        "pricing_model": [
                            {
                                "unit_amount": 10,
                                "up_to": "INFINITY"
                            }
                        ],
                        "used_amount": 0,
                        "description": "Mertric testing 1",
                        "used_till_now": 0,
                        "merchant_id": "mandate_juspay",
                        "event_type": "STORAGE",
                        "aggregation_type": "SUM",
                        "updated_at": "2026-01-19T10:08:42Z"
                    }
                ],
                "plan_description": "test 3",
                "plan_updated_at": "2026-03-06 14:05:50",
                "plan_id": "test_3",
                "plan_action_on_failure": "SKIP"
            },
            "billing_execution_info_id": "db110037d80345bb96b0ad08b3dc8d99",
            "source": "MERCHANT_REF_ID",
            "amount": 0
        },
        {
            "source_object_id": "sandbox-test",
            "status": "ACTIVE",
            "plan_info": {
                "plan_type": "POST_DEBIT",
                "plan_model": "USAGE_BASED",
                "plan_status": "ACTIVE",
                "plan_created_at": "2026-03-06 14:05:47",
                "plan_currency": "INR",
                "plan_interval": "ASPRESENTED",
                "plan_name": "test3",
                "metric_info": [
                    {
                        "created_at": "2026-01-19T10:08:42Z",
                        "status": "ACTIVE",
                        "unit": "GB",
                        "id": 32,
                        "name": "Sbx-testing-1",
                        "pricing_type": "FIXED",
                        "currency": "INR",
                        "pricing_model": [
                            {
                                "unit_amount": 10,
                                "up_to": "INFINITY"
                            }
                        ],
                        "used_amount": 0,
                        "description": "Mertric testing 1",
                        "used_till_now": 0,
                        "merchant_id": "mandate_juspay",
                        "event_type": "STORAGE",
                        "aggregation_type": "SUM",
                        "updated_at": "2026-01-19T10:08:42Z"
                    }
                ],
                "plan_description": "test 3",
                "plan_updated_at": "2026-03-06 14:05:50",
                "plan_id": "test_3",
                "plan_action_on_failure": "SKIP"
            },
            "billing_execution_info_id": "6d17110f4a90416b8b778e657ff821e0",
            "source": "MERCHANT_REF_ID",
            "amount": 11
        }
    ],
    "customer_id": "cth_gjZV6jYaYxLDLu96"
}
```

## Path Parameters:

#### customer_id:
Its a customer ID at Juspays end
- Tags: String, Mandatory
## Body Parameters:
## API Responses:
### 200:

#### message:
- Description: Status of the billing execution info id
- Value: Success
- Tags: String

#### billing_execution_info_id:
- Description: The billing_execution_info_id at Juspays end .
- Value: 6675969c95234e1e9a9be89af1ee25e2
- Tags: Array

#### merchant_id:
- Description: Merchant identifier at Juspays end
- Tags: String

#### success:
- Description: API status
- Tags: String

#### customer_id:
- Description: Customer id that was passed during the request
- Tags: String


---

## See Also

- [Free tier provisioning](https://juspay.io/in/docs/juspay-billing/docs/billing/free-tier-provisioning)
- [Webhooks - Billing](https://juspay.io/in/docs/juspay-billing/docs/billing/webhooks-billing)
