billing

Refresh saved payment methods from Stripe

Re-sync the saved-card list from Stripe (self-heal), then return it with refreshed saying whether Stripe was actually read. A false refreshed means the list is the last state we saved, not the current one.

post/v1/billing/payment-methods/sync

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/billing/payment-methods/sync
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring nullable

Response

Successful Response

refreshedboolean required

True when the saved cards were re-read from Stripe just now. False means the list is the last state we saved, either because this workspace has no billing account yet or because Stripe could not be reached.

noticestring nullable

A sentence to show the person when the refresh did not happen; null when it did.

Changes

No recorded changes to this operation across all 1 revision of this API.