Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BackupPurchase

Hierarchy

  • BackupPurchase

Index

Properties

Optional abort_status

abort_status: "abort-refund" | "abort-finished"

Abort status of the payment.

auto_refund_deadline

auto_refund_deadline: undefined | Timestamp

Continue querying the refund status until this deadline has expired.

contract_terms_raw

contract_terms_raw: any

Contract terms we got from the merchant.

Optional defunct

defunct: boolean

Is the purchase considered defunct (either during payment or during abort if abort_status is set).

Optional defunct_clock

defunct_clock: ClockStamp

Clock for last update to defunct status.

merchant_pay_sig

merchant_pay_sig: undefined | string

Signature by the merchant confirming the payment.

merchant_sig

merchant_sig: string

Signature on the contract terms.

nonce_priv

nonce_priv: string

Private key for the nonce. Might eventually be used to prove ownership of the contract.

pay_coins

pay_coins: { coin_pub: string; contribution: string }[]

Optional pay_coins_clock

pay_coins_clock: ClockStamp

Clock when the pay coin selection was made/updated.

proposal_id

proposal_id: string

Proposal ID for this purchase. Uniquely identifies the purchase and the proposal.

refunds

refunds: BackupRefundItem[]

Pending refunds for the purchase. A refund is pending when the merchant reports a transient error from the exchange.

timestamp_accept

timestamp_accept: Timestamp

When was the purchase made? Refers to the time that the user accepted.

timestamp_first_successful_pay

timestamp_first_successful_pay: undefined | Timestamp

Timestamp of the first time that sending a payment to the merchant for this purchase was successful.

total_pay_cost

total_pay_cost: string

Total cost initially shown to the user.

This includes the amount taken by the merchant, fees (wire/deposit) contributed by the customer, refreshing fees, fees for withdraw-after-refresh and "trimmings" of coins that are too small to spend.

Note that in rare situations, this cost might not be accurate (e.g. when the payment or refresh gets re-denominated). We might show adjustments to this later, but currently we don't do so.

Generated using TypeDoc