pai
    Preparing search index...

    Type Alias PaymentStatusResult

    The answer from GET /purchase/{id}/status.

    type PaymentStatusResult = {
        credit_usd: number;
        expires_at: string;
        pay_amount?: string | number;
        pay_currency?: string;
        status: string;
        topped_up: boolean;
    }
    Index
    credit_usd: number

    The credit this payment buys, in USD.

    expires_at: string

    When the payment request lapses, as an ISO 8601 time.

    pay_amount?: string | number

    The amount to pay, in that coin.

    pay_currency?: string

    The coin the payment is in, as the server records it (sol, usdcsol or usdtsol).

    status: string

    Where the payment stands, such as pending, completed, expired or failed. paymentStage puts it in words.

    topped_up: boolean

    True once the credit is on the key the payment named.