Skip to main content
GET
Verify a checkout payment and report settlement status
Public endpoint called by the hosted checkout after stripe.confirmPayment — and hit automatically on redirect-method returns, since Stripe appends ?payment_intent= to the return URL.
This endpoint never settles on trust. With payment_intent present it verifies, directly with Stripe, that the intent succeeded and that its metadata invoice_id matches this invoice — so a succeeded intent for one invoice can never be replayed to pay another. Only then is the invoice marked paid through the ledger path (idempotent with the payment webhook).

Query Parameters

Response statuses

Example

Errors

See Errors for the error envelope and the full code taxonomy.

Authorizations

Authorization
string
header
required

Path Parameters

id
string<uuid>
required

Query Parameters

payment_intent
string

Stripe PaymentIntent id (pi_*) to verify — also appended automatically by Stripe on redirect-method returns.

Response

Settlement status for this invoice.

data
object