Replace a saved payment method
POST/api/v1/saved-payment-methods/:savedPaymentMethodId/replace
Confirms a new setup intent through the hosted server-side card-data path, then promotes it and disables the old method atomically.
Request
Responses
- 200
- 400
- 404
Saved payment method replaced
Invalid setup intent or customer mismatch
Saved payment method not found