Confirm payment
Confirm a PaymentIntent that Stripe reports as succeeded, or as
processing, and settle the donation record.
The field is payment_intent_id (snake_case) — the value returned as
payment_intent_id by POST /payments/create-intent.
A US bank debit is processing for about four business days. Its
gift is recorded paid now and shown and counted like a card gift, and
the answer says status: processing and clearing: true: the money
has not cleared yet. When Stripe reports the debit succeeded, the gift
stops clearing and its receipt is sent. If the bank returns the debit,
the gift is reversed: payment_status becomes failed and it no
longer counts.
Safe to retry: a PaymentIntent whose donation is already paid is
returned as-is rather than double-counted. Stripe webhooks reconcile the
same donation independently, so a client that never reaches this call
still ends up with a settled donation — calling it just makes the
receipt available immediately.
Authorizations
In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.
Request Body
Responses
Payment confirmed; the settled donation is returned.