@hatang/sdk
    Preparing search index...

    Interface VerifyPaymentOptions

    interface VerifyPaymentOptions {
        amount?: number;
        environment?: Environment;
        order_id?: string;
    }
    Index
    amount?: number

    The amount the order needs; a smaller paid_amount does not verify.

    environment?: Environment

    Refuse a payment of the other environment (e.g. a development payment in your live shop).

    order_id?: string

    The order the payment must belong to (metadata.order_id, as set by createOrder).