Tokenization
All cards entered into the Hosted Payment Page are tokenized first before 3DS verification and payment transaction.
Event | Description | Applicable Methods |
|---|---|---|
| Emitted when card is successfully tokenized. | |
| Emitted when card tokenization fails. |
fz.tokenization.success Data Payload
Attribute | Type | Description |
|---|---|---|
| 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
}Updated 5 months ago