absolutepay (Node SDK) - v0.7.1
    Preparing search index...

    Interface CreateCheckoutParams

    Parameters for creating a hosted checkout link (payer picks the asset/chain on the page).

    interface CreateCheckoutParams {
        amount: Money;
        customerEmail?: string;
        description?: string;
        expiresAt?: number;
        redirectUrl?: string;
        reference: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    amount: Money

    Amount to bill (decimal-string amount + currency), e.g. { amount: "49.00", currency: "USDT" }. Required.

    customerEmail?: string

    Optional payer email (for receipts / notifications).

    description?: string

    Optional description shown to the payer / stored on the link.

    expiresAt?: number

    Optional link expiry as epoch milliseconds; past it the link reads EXPIRED and won't accept payment.

    redirectUrl?: string

    Optional http(s) URL the payer is redirected to once the checkout reaches a terminal state. The browser is returned with ?token=<token>&status=<PAID|EXPIRED|VOID> appended.

    reference: string

    Your order/reference shown to the payer (reconciliation handle). Required.