@hatang/sdk
    Preparing search index...

    Interface Payment

    interface Payment {
        amount: number;
        bank:
            | {
                account_name: string;
                account_number: string;
                bin: string;
                name: string;
            }
            | null;
        canceled_at: string
        | null;
        checkout_url: string;
        code: string;
        connection_id: string;
        created_at: string;
        currency: string;
        customer: Record<string, unknown> | null;
        description: string | null;
        environment: Environment;
        expires_at: string | null;
        id: string;
        invoice: PaymentInvoice | null;
        ipn_url: string | null;
        metadata: Record<string, unknown>;
        object: "payment";
        paid_amount: number;
        paid_at: string | null;
        qr: { image_url: string; payload: string };
        return_url: string | null;
        status: PaymentStatus;
    }
    Index
    amount: number
    bank:
        | {
            account_name: string;
            account_number: string;
            bin: string;
            name: string;
        }
        | null
    canceled_at: string | null
    checkout_url: string
    code: string
    connection_id: string
    created_at: string
    currency: string
    customer: Record<string, unknown> | null
    description: string | null
    environment: Environment
    expires_at: string | null
    id: string
    invoice: PaymentInvoice | null

    The e-invoice of this payment and where it stands; null when none was asked for.

    ipn_url: string | null
    metadata: Record<string, unknown>
    object: "payment"
    paid_amount: number
    paid_at: string | null
    qr: { image_url: string; payload: string }
    return_url: string | null