Interface: DisplayCardSettings

Object passed to displayCard. It allows operating with the UI the function injects in the calling page.

Example

displayCard({
  cardId: '123',
  allowPinReveal: true,
  allowBlocking: false,
});

Properties

allowBlocking?

optional allowBlocking: boolean

Whether to show the Block Card button in the UI.

If the card is already blocked, the button will be hidden even if the value is true.

If nothing is passed, defaults to false.


allowPinReveal?

optional allowPinReveal: boolean

Whether to show the Show PIN button in the UI.

If nothing is passed, defaults to false.


cardId

cardId: string

The ID of the card to display.