RazCrypto RazCrypto Docs
Dashboard Get API Keys
Docs Payment Status

Check Payment Status

Poll the status of any payment using its payment ID.

Endpoint

HTTP
GET https://razcryptogateway.com/api/v1/payments/status/{payment_id}

Example Request

cURL
curl "https://razcryptogateway.com/api/v1/payments/status/payid_3d6b186277fce06d"

Responses

{
    "status": "completed",
    "payment_id": "payid_3d6b186277fce06d",
    "amount": 10.500071,
    "currency": "USDT",
    "chain": "BSC",
    "tx_hash": "0x1234567890abcdef...",
    "sender": "0x9876543210fedcba...",
    "completed_at": "2024-01-15T14:30:00Z"
}
{
    "status": "pending",
    "payment_id": "payid_a9b877fc9c3920c6",
    "seconds_left": 1610
}
{
    "status": "expired",
    "payment_id": "payid_abc123def456"
}

Webhook Status Check

Check if a webhook was successfully delivered:

HTTP
GET https://razcryptogateway.com/api/v2/webhooks/{payment_id}/status?auth_key=your_auth_key
Response
{
    "status": "success",
    "data": {
        "payment_id": "payid_4dfdb2439",
        "webhook_delivered": true,
        "status_code": 200,
        "status_message": "Webhook delivered successfully",
        "attempts": 1,
        "last_attempt": "2025-12-02 19:14:58"
    }
}