curl "https://secureapi.gridlog.io/api/v1/pos/sessions/123e4567-e89b-12d3-a456-426614174000" \ -H "X-API-Key: YOUR_API_KEY"
{ "id": "123e4567-e89b-12d3-a456-426614174000", "chain": "polygon", "address": "0x1234abcd...", "token": "USDC", "amountExpected": "25.00", "amountReceived": null, "status": "pending", "expiresAt": "2025-03-21T10:10:00.000Z", "paidAt": null }
Retrieve the current status and details of a POS payment session
null
pending
paid
paid_out
expired
cancelled