💳 Magento_Vault · engine innodb
vault_payment_token
Vault tokens of payment
Neighbourhood (1-hop foreign-key graph — showing 2 of 2)
flowchart LR c["vault_payment_token"]:::center n0["customer_entity"] click n0 "/schema/table/customer_entity" n0 -- customer_id --> c n1["vault_payment_token_order_payment_link"] click n1 "/schema/table/vault_payment_token_order_payment_link" c -- payment_token_id --> n1 click c "/schema/table/vault_payment_token" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (2)
Columns (12)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| entity_id PK | int unsigned | no | Entity ID | |
| customer_id | int unsigned | yes | Customer ID | |
| website_id | int unsigned | yes | Website ID | |
| public_hash | varchar(128) | no | Hash code for using on frontend | |
| payment_method_code | varchar(128) | no | Payment method code | |
| type | varchar(128) | no | Type | |
| created_at | timestamp | no | CURRENT_TIMESTAMP | Created At |
| expires_at | timestamp | yes | Expires At | |
| gateway_token | varchar(255) | no | Gateway Token | |
| details | text | yes | Details | |
| is_active | boolean | no | true | |
| is_visible | boolean | no | true |
Keys & indexes
Primary key: entity_id
Unique
- VAULT_PAYMENT_TOKEN_PAYMENT_METHOD_CODE_CSTR_ID_GATEWAY_TOKEN (payment_method_code, customer_id, gateway_token)
- VAULT_PAYMENT_TOKEN_PUBLIC_HASH (public_hash)
References (1)
- customer_id → customer_entity .entity_id (on delete CASCADE)
Referenced by (1)
- vault_payment_token_order_payment_link .payment_token_id → .entity_id (on delete CASCADE)