Preloader

Check Payment Status

Checks the status of a payment.

Endpoint: POST {{base_url}}/payment/check/status
Parameter Type Details
order_id string Unique Order ID from your system

    Request Example (Guzzle)
    

<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', '{{base_url}}/details/check/status', [
  'json' => [
    'order_id' => 'ORDER12345',
  ],
  'headers' => [
    'Authorization' => 'Bearer {{access_token}}',
    'accept' => 'application/json',
    'content-type' => 'application/json',
  ],
]);
echo $response->getBody();

    
**Response: SUCCESS (200 OK)**
{
 "message": {
  "code": 200,
  "success": ["SUCCESS"]
 },
"data": {
  "id": 101,
  "user_id": 1,
  "merchant_id": 2,
  "merchant_name": "Paytm",
  "merchant_upi": "paytm@upi",
  "client_orderid": "ORD123456",
  "txn_date": "2025-04-08T12:00:00.000000Z",
  "txn_amount": "100.00",
  "txn_note": "Product Purchase",
  "hdfc_txnid": null,
  "product_name": "Test Product",
  "customer_name": "Ravi Kumar",
  "customer_mobile": "9876543210",
  "customer_email": "user@pinshugroups.in",
  "customer_vpa": "ravikumar@upi",
  "bank_orderid": 5469858795878,
  "utr_number": "UTR123456789",
  "payment_mode": "UPI",
  "payment_token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
  "callback_url": "https://clientdomain.com/callback",
  "domain": "clientdomain.com",
  "webhook_status": "pending",
  "status": "Success",
  "created_at": "2025-04-08T12:00:01.000000Z",
  "updated_at": "2025-04-08T12:01:00.000000Z"
},
"type": "success"