PAYCOW / DOCUMENTATION

Payment status

Create, track and reconcile payments safely.

Polling & Status Queries

Pull architecture -- query payment status on demand

GET /payment/data/:sessionId
Public Endpoint: No API keys required. Safe to call from browser JavaScript in checkout widgets.
curl https://paycow.net/payment/data/648f3a8b1c2d3e4f5a6b7c8d

Response 200 OK

{
  "_id": "648f3a8b1c2d3e4f5a6b7c8d",
  "userId": "user_123456",
  "baseAmount": 50.00,
  "payableAmount": 50.0001,
  "amountRequested": 50.00,
  "amountReceived": 50.0001,
  "currencyInfo": "USDT",
  "depositNetwork": "TRC20",
  "status": "PAID",
  "confirmations": 20,
  "txHash": "9e1c7f4a2b3d8e5f...",
  "isAwake": false,
  "awakeExpiresAt": null
}
GET /api/payment/status/:paymentId
Authenticated Endpoint: Protected by x-api-key and x-api-secret. Use from backend cron jobs or verification services.
curl -X GET https://paycow.net/api/payment/status/648f3a8b1c2d3e4f5a6b7c8d \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-api-secret: YOUR_API_SECRET"