Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | INT UNSIGNED | 10 | √ | null |
|
|
Payment Token ID |
|||
contact_id | INT UNSIGNED | 10 | null |
|
|
FK to Contact ID for the owner of the token |
||||
payment_processor_id | INT UNSIGNED | 10 | null |
|
|
|||||
token | VARCHAR | 255 | null |
|
|
Externally provided token string |
||||
created_date | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
Date created |
||||
created_id | INT UNSIGNED | 10 | √ | null |
|
|
Contact ID of token creator |
|||
expiry_date | DATETIME | 19 | √ | null |
|
|
Date this token expires |
|||
VARCHAR | 255 | √ | null |
|
|
Email at the time of token creation. Useful for fraud forensics |
||||
billing_first_name | VARCHAR | 255 | √ | null |
|
|
Billing first name at the time of token creation. Useful for fraud forensics |
|||
billing_middle_name | VARCHAR | 255 | √ | null |
|
|
Billing middle name at the time of token creation. Useful for fraud forensics |
|||
billing_last_name | VARCHAR | 255 | √ | null |
|
|
Billing last name at the time of token creation. Useful for fraud forensics |
|||
masked_account_number | VARCHAR | 255 | √ | null |
|
|
Holds the part of the card number or account details that may be retained or displayed |
|||
ip_address | VARCHAR | 255 | √ | null |
|
|
IP used when creating the token. Useful for fraud forensics |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
FK_civicrm_payment_token_contact_id | Performance | Asc | contact_id |
FK_civicrm_payment_token_created_id | Performance | Asc | created_id |
FK_civicrm_payment_token_payment_processor_id | Performance | Asc | payment_processor_id |