Cancels the nominated card
POST/v1/cards/:cardId/cancel
This operation cancels, or requests a replacement, for the nominated card instance based on the reason provided for cancellation.
In order to perform this operation, the card must be in an ACTIVE or LOCKED state.
Business Rule: Card must be in a stoppable state (CanStop=true from core banking system).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
OK
Schema validation failed (GEN000000)
Missing or invalid authentication token (GEN001002)
Forbidden (CAR003003)
Party not found (PAR004001) or Card not found (CAR004001)
Invalid card state for this operation (CAR009001)
Internal server error (GEN100000) or Service error (GEN100001)