Primary key
The unique identifier for the payment method record.
Specific attributes
The brand of the card.
Rules: Posible values: VISA, MASTERCARD, AMEX, DINERS, DISCOVER, JCB, UNIONPAY, MAESTRO. Max length: 50 characters
The card number (likely masked or tokenized for security).
Rules: Max length: 25 characters
The type of the card
Rules: Possible values: CREDIT, DEBIT, PREPAID. Max length: 50 characters
The username associated with the card.
Rules: Max length: 150 characters
Indicates whether this is the predetermined payment method for the account.
Foreign keys
The unique identifier of the associated account. Ref: Account Schema
The unique identifier of the associated payment gateway. Ref: PaymentGateway
Schema
Tracking attributes
The timestamp when the payment method record was created.
Rules: Precision: 6, with timezone
The timestamp when the payment method record was deleted, if applicable.
Rules: Precision: 6, with timezone