Has an authorization been used?
payment_statusWhether a signed payment authorization has been used on chain, for a client whose settle reply was lost. Answers unspent, consumed or expired from the chain (EIP-3009 authorizationState, or the Permit2 nonce bitmap). unspent is not final: the authorization can still be used until validBefore, and a settlement already in flight reads as unspent here. Only consumed and expired are final; expired is only reported 5 s after validBefore, so a payment still in flight is not called final. The settled and pending states need the owning API key and are only served over HTTP. Same answer as GET /settle/status, and it spends the same per-IP allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Token address the payment was signed for. | |
| nonce | Yes | EIP-3009: the 32-byte hex nonce. Permit2: the nonce as a decimal or 0x-hex uint256. | |
| payer | Yes | Address that signed the authorization. | |
| validBefore | No | Optional. The authorization's validBefore (Permit2: deadline), in unix seconds, so an unused one more than 5 s past it reads as expired. |