API CONTRACT PREVIEW · V0
Get payment status
Understand every stage of a payment.
Design contract, not a live API. All hosts use reserved .example domains. These examples do not perform real payments.
Overview
Polling provides a snapshot. Proposed states include awaiting_payment, detected, confirming, confirmed, expired, underpaid and overpaid. A transaction seen by an RPC provider is not yet final.
Implementation notes
- 1
Confirmation policy must be specific to each network.
- 2
Account for reorganizations and delayed provider responses.
- 3
Never use the client UI as proof of settlement.
GET
/v1/payments/{payment_id} Example payload DRAFT CONTRACT
{
"id": "pay_demo_1048",
"status": "confirming",
"amount": "249.00",
"token": "USDC",
"network": "base",
"sandbox": true
}
Before production
Server-side authentication, input validation, wallet ownership checks, network monitoring, finality policy, signature verification and operational controls require separate implementation. Fulfill orders only from a verified backend state.
CONTINUE EXPLORINGWebhooks