---
description: >-
  Check the current usage status of link. It will return the different response
  like link is expired, details already submitted  or link not found.
---

# Smart Send Status

{% hint style="warning" %}
#### Note: These API's are now deprecated. Please use Smart Send v2 API's for new integrations.
{% endhint %}

{% tabs %}
{% tab title="Production" %}
[ https://www.payumoney.com/payout/smartPay/status](https://www.payumoney.com/payout/smartPay/status)
{% endtab %}

{% tab title="Testing" %}
[ https://test.payumoney.com/payout/smartPay/status](https://test.payumoney.com/payout/smartPay/status)
{% endtab %}
{% endtabs %}

## **Request Header Params**

| **Key**          | **Description**                                   | **Data type**  | **Mandatory**  | **possible Values**     |
| ---------------- | ------------------------------------------------- | -------------- | -------------- | ----------------------- |
| Authorization    | Access token generated earlier.                   | String         | Yes            |  Bearer {access\_token} |
| payoutMerchantId | This is the merchant id provided while onboarding | String         | Yes            |                         |

{% hint style="danger" %}
**payountMerchantId is different from payumoney merchant id, please check payouts dashboard or call customer support if you don’t know your payoutsMerchantID**
{% endhint %}

## **Request Params**

| **Key**          | **Description**                                                                                                                                                      | **Data type**  | **Mandatory**                                         | **possible Values**  |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | ----------------------------------------------------- | -------------------- |
| linkId           | Link id return by payu while creating link                                                                                                                           | String         | Conditional,  In case searching with merchantRefId    |                      |
| merchantRefId    | Unique reference id generated at merchant side to distinguish between multiple links. Same value will be used by merchant in status check of transfer and cancel it. | String         | Conditional in case not passed link id                |                      |
| payoutMerchantId | payout merchantId                                                                                                                                                    | String         | Conditional, Required in case search by merchantRefId |                      |

## **Example**

Method : Get

**Sample Request Body:**

```
curl -X GET \
  'https://test.payumoney.com//payout/smartPay/status?linkId=5NoIQ1R8KuFeIaUYo8CEzllcxvRL4cWd5Kx48PkutmLHwgAkTVGwWrzaClVey6Rb' \
  -H 'authorization: bearer 5c1e9bf2a4d9761de6ac53122be4250907ae418c7dc34fec3dc71a9cf661b5c1' \
  -H 'payoutmerchantid: 1111110' \
 
```

**Response Body :**

{% tabs %}
{% tab title="Success" %}
```
{
    "status": 0,
    "msg": "Account Detail Pending",
    "code": null,
    "data": {
        "link": null,
        "linkId": "5NoIQ1R8KuFeIaUYo8CEzllcxvRL4cWd5Kx48PkutmLHwgAkTVGwWrzaClVey6Rb",
        "merchantRefId": "smart_pay_30_jul_test",
        "custEmail": null,
        "custName": null,
        "custMoblie": null,
        "merchantName": null,
        "amount": "1.0",
        "isOtpVerified": null,
        "linkExpiryDate": null,
        "detailFilled": false,
        "isLinkValid": true,
        "allowedMethod": "both"
    }
}
```
{% endtab %}

{% tab title="Failure" %}
```
// In case invalid link
{
    "status": 1,
    "msg": "SmartPay Link not found",
    "code": 1112,
    "data": null
}

// Link Expired.
{
    "status": 1,
    "msg": "SmartPay Link expired",
    "code": 1111,
    "data": null
}
```
{% endtab %}
{% endtabs %}



## &#x20;**Response Params**

| **Key**      | **Description**                                                                         |
| ------------ | --------------------------------------------------------------------------------------- |
| data.link    | link generated for the customer where he or she can fill the details                    |
| data.linkId  | Id generated for link. Same will be used to check if details are filled in link or not. |
