Deactivate a credit card
PATCH/credit-cards/:code/deactivate
Deactivates a credit card either permanently (sets limit to zero) or temporarily (sets validity to past)
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 429
- 500
Successfully deactivated credit card
Bad request or validation error
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Credit card not found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error