import type * as Square from "../index"; /** * Additional details about `WALLET` type payments. Contains only non-confidential information. */ export interface DigitalWalletDetails { /** * The status of the `WALLET` payment. The status can be `AUTHORIZED`, `CAPTURED`, `VOIDED`, or * `FAILED`. */ status?: string | null; /** * The brand used for the `WALLET` payment. The brand can be `CASH_APP`, `PAYPAY`, `ALIPAY`, * `RAKUTEN_PAY`, `AU_PAY`, `D_BARAI`, `MERPAY`, `WECHAT_PAY`, `LIGHTNING` or `UNKNOWN`. */ brand?: string | null; /** Brand-specific details for payments with the `brand` of `CASH_APP`. */ cashAppDetails?: Square.CashAppDetails; /** Brand-specific details for payments with the `brand` of `LIGHTNING`. */ lightningDetails?: Square.LightningDetails; /** Information about errors encountered during the payment. */ errors?: Square.Error_[]; }