patch
https://{your-totality-url}.com/api/payment-methods/
Updates the primary designations on an existing payment method without re-submitting card or bank details. Send isPrimary and/or isPrimaryForFunding; omitted or null fields are left unchanged. Intended for the returning-customer flow where the client only holds masked card data but needs to mark the card already on file as the funding target.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
404No payment method exists for the given UUID.
409The payment method is disabled and cannot be designated as primary.
422Validation error. isPrimary and isPrimaryForFunding must be booleans or null.
