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

## API Version: default


# **Retrieve a source pdf** 



Retrieves an existing source object. Supply the unique source ID from a source creation request and LotusPay will return the corresponding up-to-date source object information.

**ARGUMENTS** 


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


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

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

## Request Type: 
GET

## Content-Type: 
application/json

## Authorization:

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

#### Request:
```Shell
$ curl https://api-test.lotuspay.com/v1/sources/SC004433221AA \
  -u sk_test_xd22123sxlkadsf8wjbkx:

```

#### Response:
```json
{
  "id": "SC004433221AA",
  "object": "source",
  "created": 1530224170,
  "livemode": true,
  "metadata": {
  },
  "client_secret": "src_client_secret_DUeNTTEBn6QG5mU27pQxyQj3",
  "date_submitted": null,
  "date_withdrawn": null,
  "flow": "redirect",
  "nach_debit": {
    "amount_collection": null,
    "amount_maximum": 10000,
    "category_code": "L001",
    "category_description": "Loan installment amount",
    "creditor_agent_code": "HDFC",
    "creditor_agent_mmbid": "HDFC0999999",
    "creditor_agent_name": "HDFC BANK",
    "creditor_name": "LOTUSPAY SOLUTIONS PVT LTD",
    "creditor_utility_code": "NACH00000000005549",
    "date_first_collection": "2020-01-01",
    "date_final_collection": "2021-12-31",
    "date_of_mandate": null,
    "debtor_account_name": "AMIT JAIN",
    "debtor_account_number": "****5678",
    "debtor_account_type": "savings",
    "debtor_agent_code": "ICIC",
    "debtor_agent_mmbid": "ICIC0000001",
    "debtor_agent_name": "ICICI BANK",
    "debtor_email": "test@lotuspay.com",
    "debtor_mobile": "9999123456",
    "debtor_pan": "******234B",
    "debtor_phone": null,
    "frequency": "MNTH",
    "instrument": "DEBIT",
    "occurrence_sequence_type": "RCUR",
    "reference1": "CUSTOMER_123",
    "reference2": "PRODUCT_ABC",
    "reference3": null,
    "reference4": null,
    "reference5": null,
    "variant": "emandate_api"
  },
  "origin": "API",
  "redirect": {
    "auth_mode": "debitcard",
    "auth_attempts": null,
    "response": {
    },
    "return_url": "https://www.lotuspay.com/",
    "short_url": "https://app.lotuspay.com/p/qAgc2dd",
    "url": "https://test.lotuspay.com/pay/AL00AABBCCDDEE?client_secret=src_client_secret_DUeNTTEBn6QG5mU27pQxyQj3"
  },
  "type": "nach_debit",
  "status": "pending",
  "agent": null,
  "bank_account": null,
  "customer": null,
  "mandate": null,
  "nach_profile": "NP00AABBCC1122"
}

```

## API Responses:


---

## See Also

- [Create a source](https://juspay.io/in/docs/lotuspay/web/core-resources/create-a-source)
- [Retrieve a source pdf](https://juspay.io/in/docs/lotuspay/web/core-resources/retrieve-a-source-pdf)
