---
page_title: Retrieve a subscription
product: lotuspay
platform: web
page_source: https://docs.juspay.io/lotuspay/web/core-resources/retrieve-a-subscription
openapi: https://docs.juspay.io/api/swagger?document=https%3A%2F%2Fdocs.juspay.io%2Flotuspay%2Fweb%2Fcore-resources%2Fretrieve-a-subscription
llms_txt: https://docs.juspay.io/llms.txt
product_llms_txt: https://docs.juspay.io/lotuspay/llms.txt
---

## API Version: default


# **Retrieve a subscription** 



Retrieves an existing subscription object. Supply the unique subscription identifier.

**ARGUMENTS** 


| Argument | Description |
|---|---|
| subscription REQUIRED	 | The identifier of the subscription to be retrieved. |


**Returns**  Returns a subscription object if a valid identifier was provided.## Endpoints:
- Sandbox: https://api-test.lotuspay.com/v1/subscriptions/{ID}

- Production: https://api.lotuspay.com/v1/subscriptions/{ID}

## Request Type: 
GET

## Content-Type: 
application/json

## Authorization:

#### Basic Auth:
Auth example
- Value:  sk_test_XjIHowXWSI23uvjepz2X82
## Sample Code Snippets:
### Sample Request and Response:

#### Request:
```Shell
$ curl https://api-test.lotuspay.com/v1/subscriptions/SB0044GG221AA \
   -u sk_test_XjIHowXWSI23uvjepz2X82:

```

#### Response:
```json
{
    "id": "SB004433221AA",
    "object": "subscription",
    "created": 1530224170,
    "livemode": false,
    "metadata": {
    },
    "amount": 10000,
    "count": 2,
    "day_of_month": 23,
    "interval": "month",
    "interval_count": 2,
    "month": null,
    "name": "Order 123",
    "start_date": "2018-12-02",
    "status": "active",
    "customer": "CU0012345ABCDE",
    "mandate": "MD0011DD22RR33",
    "plan": null
  }
  
```

## API Responses:
