Resolve POS customer binding
Resolves or creates an organization-scoped customer using an opaque external reference. Email is not used as a lookup key.
Confirm setup intent with client secret
Confirms a setup intent using the one-shot client secret and exactly one credential representation. Raw and hosted card data are tokenized server-side; canonical token references are validated before use.
List saved payment methods for a customer
Lists saved cards for a customer across every Location in the caller's Organization. Use `merchantId`/`locationId`/`organizationId` to select which Organization scope to read.
Get a saved payment method
Retrieves a single saved payment method by id within the caller's Organization. Returns 404 when the id belongs to a different Organization (the id alone never leaks cross-Org).
Delete a saved payment method
Removes the saved card from the caller's Organization.
Replace a saved payment method
Confirms a new setup intent through the hosted server-side card-data path, then promotes it and disables the old method atomically.
Set default saved payment method
Marks the target row as the customer's default and clears the flag from every other saved card on the same customer within the same Organization.
Update saved payment method status
Sets the status of a saved payment method (ACTIVE / DISABLED / etc).
Issue a hosted setup link
Issue a hosted setup link