Type Alias Transaction

Transaction: BaseTransaction & {
    cryptoFiatInput?: NullablePrice;
    cryptoOrderId?: string | null;
    cryptoQuoteId?: string | null;
    customerIp?: string | null;
    feePercentage?: number;
    includeStripeFee?: boolean;
    minimumFee?: number;
    pspInfos: {
        [key: string]: unknown;
    };
    relayedTxnId: string | null;
}

Type declaration

  • OptionalcryptoFiatInput?: NullablePrice

    Fiat amount for the crypto purchase

  • Optional ReadonlycryptoOrderId?: string | null

    Exchange order from crypto to fiat

  • Optional ReadonlycryptoQuoteId?: string | null

    Exchange order quote from crypto to fiat

  • Optional ReadonlycustomerIp?: string | null

    IP address of the customer

  • OptionalfeePercentage?: number

    Transaction platform fee in base point. 1050 means 10.50%

  • OptionalincludeStripeFee?: boolean

    Wether or not platform fees include Stripe fees

  • OptionalminimumFee?: number

    Minimum platform fee in cents. 125 means $1.25

  • ReadonlypspInfos: {
        [key: string]: unknown;
    }

    Any data specific to the checkout session for this PSP

    • [key: string]: unknown
  • ReadonlyrelayedTxnId: string | null

    ID of the transaction as exposed by Cometh relayer