Replace payment method
PUT/api/v1.0/payment-methods/:payment_method_id/replace
Creates a new payment method from JWE, reassigns active/trial/past_due subscriptions, and soft deletes the old method.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 500
Payment method replaced
Bad request
Unauthorized
Forbidden
Payment method not found
Business conflict
Validation error
Internal server error