---
agentTools:
  projectIndex: https://unpedash.readme.io/llms.txt
---

# Webhook

* webhook url - <https://youdomain.com> - pass in order create api
* webhook method should be GET method
* webhook response parameter explained below.

> Final complete webhook request :
>
> <https://youdomain.com?statuscode=TXN&status=success&amount=1&apitxnid=id123&txnid=id212&utr=BANK123&message=text>

### Response Body Parameters

| Name       | type   | Condition       | Possible Value               |
| :--------- | :----- | :-------------- | :--------------------------- |
| statuscode | String | All Time        | TXN                          |
| message    | String | All Time        | Transaction Response Message |
| status     | String | In Case TXN/TUP | success/failed               |
| txnid      | String | In Case TXN     | Upi collection reference id  |
| apitxnid   | String | In Case TXN     | Merchant Unique Id           |
| amount     | String | In Case TXN     | Collection Amount            |
| utr        | String | In Case TXN     | Bank Utr                     |