Get card
Get cards given accountId
This operation will respond with a list of cards given the accountId
GET
Path Parameters
The account id to fetch list of cards for
Query Parameters
The audit user to log the request
Current page
How many cards should be returned per page, default is 30. Cannot be more than 100.
Required range:
1 <= x <= 100
Response
200 - application/json
The account id card is linked to
A role needs to be provided for the connection to the account. Role is one way to categorize between primary and supplementary card holders. Role MAIN will always create a card to have same account holder and card holder. For a supplementary card there is a possibility to differ between account and card holder.
Available options:
MAIN
, SUPPLEMENTARY
The customer id card is linked to
Unique card id for given card
- CARD_OK - Card is open and in normal status. Card has to be in this status in order for it to be renewed
- CARD_BLOCKED - Temporary block on the card that will prevent approval of authorisations. Can be used instead of account level temporary block if target is to block only a specific card
- SUSPECTED_FRAUD - Temporary block on the card that will prevent approval of authorisations. Functionality the same as for "Card blocked", the different code allows to differentiate between the blocks
- CARD_CLOSED_DUE_TO_FRAUD - Used to close a card due to known fraud
- CARD_NO_RENEWAL - Status set to prevent following card renewal. Does not affect card functionality in any way, only renewal
- CARD_LOST - Used to close a card because it is lost
- CARD_STOLEN - Used to close a card because it is stolen
- CARD_CLOSED - Used to close card by request from customer or bank, reason for closure is set with status update reason. Allows still clearing transaction posting
- CARD_EXPIRED - Final card closure status, that blocks also clearing transaction posting
Available options:
CARD_OK
, CARD_BLOCKED
, SUSPECTED_FRAUD
, CARD_CLOSED_DUE_TO_FRAUD
, CARD_NO_RENEWAL
, CARD_LOST
, CARD_STOLEN
, CARD_CLOSED
, CARD_EXPIRED