---
page_source: https://juspay.io/in/docs/lotuspay/web/core-resources/withdraw-a-source
page_title: Withdraw a source
---

## API Version: default


# **Withdraw a source** 



Withdraws an existing source object. Supply the unique source ID from a source creation request and LotusPay will return the withdrawn source.

**ARGUMENTS** 


| Argument	 | Description |
|---|---|
| source REQUIRED	 | The identifier of the pending source to be withdrawn. Its status must be pending, and will transition to withdrawn. |


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

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

## Request Type: 
POST

## Content-Type: 
application/json

## Authorization:

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

#### Request:
```Shell
{"success":false,"message":"No Data found for the given path"}
```

#### Response:
```json
{"success":false,"message":"No Data found for the given path"}
```

## API Responses:
