# Status

#### Endpoint

```
POST /payout/
```

#### 📄 Order Status API – Parameters

| Parameter   | Required | Type   | Description                       |
| ----------- | -------- | ------ | --------------------------------- |
| client\_id  | Yes      | string | Your unique client ID             |
| secret\_key | Yes      | string | API secret key for authentication |
| order\_id   | Yes      | string | Unique order ID to check status   |

#### 🔹 Notes

* All parameters are **mandatory**
* `order_id` should be the same ID used during order creation
* Keep `secret_key` **confidential**

```json
{
 "success": true,
 "message": "Fetch success",
 "data": {
 "order_id": "ORD123",
 "amount": 1000,
 "status": "SUCCESS",
 "utr": "1234567890"
 }
}
```

#### Callback

```json
{
 "success": true,
 "message": "Fetch success",
 "data": {
 "order_id": "ORD123",
 "amount": 1000,
 "status": "SUCCESS",
 "utr": "1234567890"
 }
}
```

#### 📊 Status Values

| Status   | Meaning    | Description                        |
| -------- | ---------- | ---------------------------------- |
| PENDING  | Processing | Payment/Payout is in progress      |
| SUCCESS  | Completed  | Transaction completed successfully |
| FAILED   | Failed     | Transaction failed                 |
| REJECT   | Rejected   | Request rejected by system/bank    |
| REVERSAL | Refunded   | Amount reversed/refunded           |

***

#### 🔹 Notes

* Always handle all statuses in your system logic
* `PENDING` can later change to `SUCCESS` or `FAILED`
* `REVERSAL` usually happens after a successful transaction
