Skip to content

Get payment status

Poll this to check a payment’s status. In most integrations the completion webhook arrives before you’d need to poll — use this for a manual status check or to recover from a missed webhook delivery.

Terminal window
curl -s https://api.sendchain.example/v1/store-api/payments/$PAYMENT_ID \
-u "$API_KEY:$SECRET_KEY"
{ "id": "pay_...", "status": "confirmed", "confirmations": 3 }
Field Type Description
id string
status string awaiting_payment, detected, confirmed, completed, partial, overpaid, reversed, or expired.
confirmations integer Present once a matching transaction is detected on-chain.
Status error Meaning
401 invalid_credentials Missing, malformed, or mismatched Basic auth.
404 not_found The id doesn’t belong to your store (never distinguishes “doesn’t exist” from “someone else’s”).