Settle a payment
Settles an x402 payment using the quote ID and a signed payment authorization. The payment signature can be provided via the PAYMENT-SIGNATURE header or the payment_signature body parameter. Settlement is idempotent — submitting the same quote ID multiple times returns the existing transaction.
POST
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Signed payment authorization for the quote. Alternative to providing payment_signature in the request body.
Body
application/json
Response
Payment already settled (idempotent response)