Tokenization

All cards entered into the Hosted Payment Page are tokenized first before 3DS verification and payment transaction.

Event

Description

Applicable Methods

fz.tokenization.success

Emitted when card is successfully tokenized.

renderPaymentsPage

fz.tokenization.error

Emitted when card tokenization fails.

renderPaymentsPage

fz.tokenization.success Data Payload

Attribute

Type

Description

token

string

Card token

{
  message: "xxx",
  data: {
    token: "xxx",
  }
}

fz.tokenization.error Data Payload

Attribute

Type

Description

N/A

N/A

N/A

{
  errors: ["xxx"],
  data: null
}