Poll (or long-poll) a payment session
Path parameters
Query parameters
When true, the server blocks up to 60 seconds waiting for the session to transition to a terminal state (completed, failed, expired). Useful to avoid tight-loop polling.
Response
Payment session state
Example response
{
"asset": "USDC",
"network": "base-sepolia"
}Changes
Changed in 1 of the 12 revisions of this API.427
- ▲
the response's body type/format changed from
object/to/for status200response-body-type-changed
- ▲
removed the media type
application/jsonfor the response with the status404response-media-type-removed
- ▲
removed the required property
sessionIdfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
statusfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
timestampfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
transactionHashfrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
getPaymentStatusremoved and replaced withapi-operation-id-removed
- ○
the endpoint scheme security
BearerAuthwas removed from the APIapi-security-removed
- ○
api tag
Payment (x402)addedapi-tag-added
- ○
api tag
Paymentremovedapi-tag-removed
- ○
added the new optional
queryrequest parameterwaitnew-optional-request-parameter
- ○
added
PaymentSessionsubschema #2to the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed the non-success response with the status
401response-non-success-status-removed
This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲