# Submit a UTR

`POST https://api.royalpe.site/merchant/manual-utr-upload`

Submits the payer's UTR (the bank reference of their UPI payment) for a pay-in. Use it when your user gives the UTR to you, for example through your support team, instead of uploading it at the checkout. The pay-in moves to `pending` and is verified like any other.

## Request

| Field | Type | Required | Description |
|---|---|---|---|
| `accessKey` | string | yes | Your access key. |
| `secretKey` | string | yes | Your secret key. |
| `transactionId` | string | yes | The pay-in's `transactionId`. |
| `utrNumber` | string | yes | The UTR exactly as the payer's app shows it, usually 12 digits. Up to 128 characters. |

```bash title="cURL"
curl -X POST https://api.royalpe.site/merchant/manual-utr-upload \
  -H "Content-Type: application/json" \
  -d '{"accessKey":"YOUR_ACCESS_KEY","secretKey":"YOUR_SECRET_KEY","transactionId":"RP-7f3a9c21d84e5b02","utrNumber":"531512345678"}'
```

## Response

```json title="200"
{
  "success": true,
  "message": "UTR number updated successfully",
  "data": { "transactionId": "RP-7f3a9c21d84e5b02", "status": "pending" }
}
```

You'll get a `pending` webhook, then the result (`approved` or `rejected`). Sending the same UTR again for a pending pay-in changes nothing. Sending a different one restarts the check with the new UTR.

## Errors

| HTTP | `message` | Meaning |
|---|---|---|
| 400 | `This payment is already accepted` | The pay-in is already `approved`. |
| 400 | `A payment has already been accepted with this UTR number` | That UTR was used for another approved pay-in. |
| 400 | `Invalid UTR number` | Empty, or over 128 characters. |
| 401 | `Invalid access key or secret key` | |
| 403 | `Transaction does not belong to this merchant` | |
| 404 | `Transaction not found` | |
| 409 | `Payment cannot be submitted in this state` | The pay-in is `rejected` or `cancelled`. Create a new pay-in. |

---

Source: https://docs.royalpe.site/payins/manual-utr · All docs: https://docs.royalpe.site/llms-full.txt · Updated 2026-11-30
