NexSDK
    Preparing search index...

    Interface PaymentInitiateResponse

    Returned to frontend so it can open the gateway checkout.

    interface PaymentInitiateResponse {
        amount: string;
        currency: string;
        gateway: string;
        gateway_key_id: string;
        gateway_order_id: string;
        payment_id: string;
    }
    Index

    Properties

    amount: string

    Amount in rupees, like every other money field in this API. Razorpay's checkout widget takes paise, so convert before opening it — NexAdmin's decimalRupeesToPaise is the tested, float-safe way.

    ^(?!^[-+.]$)[+-]?0\d*.?\d*$

    currency: string
    gateway: string
    gateway_key_id: string
    gateway_order_id: string
    payment_id: string