# Paytm Deposit

## Paytm Merchant Payment Verification

Use this API to verify a Paytm merchant payment with your `mid` and `id`.

This endpoint helps you confirm whether a payment linked to an order ID is valid.

### Service URL

`https://paytm.udayscriptsx.workers.dev`

### What this API does

* Verifies a Paytm merchant payment
* Uses your merchant ID and order ID
* Returns the payment verification result

### Request method

`GET`

### Query parameters

#### `mid`

Your Paytm merchant ID.

Example:

```
mid=YOUR_PAYTM_MID
```

#### `id`

The Paytm order ID you want to verify.

Example:

```
id=YOUR_ORDER_ID
```

### Example request

```bash
curl "https://paytm.udayscriptsx.workers.dev?mid=YOUR_PAYTM_MID&id=YOUR_ORDER_ID"
```

### Example URL

```
https://paytm.udayscriptsx.workers.dev?mid=YOUR_PAYTM_MID&id=ORDER123456
```

### Success response

```json
{
  "TXNID": "20260404011090*******4454654",
  "BANKTXNID": "2708***3915",
  "ORDERID": "49644470*****28400",
  "TXNAMOUNT": "1.00",
  "STATUS": "TXN_SUCCESS",
  "TXNTYPE": "SALE",
  "GATEWAYNAME": "PPBL",
  "RESPCODE": "01",
  "RESPMSG": "Txn Success",
  "MID": "YOUR_PAYTM_MID",
  "PAYMENTMODE": "UPI",
  "REFUNDAMT": "0.0",
  "TXNDATE": "2026-04-04 09:25:00.0",
  "currentTxnCount": ""
}
```

### Notes

* Send both `mid` and `id` in the request URL.
* Keep your merchant details secure.
* Replace the dummy response once your final format is ready.

{% hint style="success" %}
Need updates or support? Join [@UdayScripts](https://t.me/UdayScripts).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.udayscripts.in/paytm-deposit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
