Skip to main content

Make Payment [v2]‚Äč

Since UPI payments don't need any redirection, you only need to call this API to make UPI payments. The API used to support OTP/token submission flows for BNPL but this is now deprecated and can be found in v3 APIs

Request Body required
    flow string

    Default value: collect

    This is the flow of the UPI payment mode


    payment_mode string required

    Possible values: [UPI]

    This is the payment mode chosen by the customer to pay for your order

    order_id string required

    The order_id for which the payment is being made

Responses

When the payment completion request is successful, the response will be as below


Schema
    status_code integer required

    This is the http status code

    order_id string required

    This is the order passed in the request

    transaction_id string required

    This is the unique transaction id generated by Nimbbl for this payment

    status string required

    Possible values: [success]

    This is the status of the request

    message string required

    This a message explaining the status of the payment

    completion_time integer required

    The time in seconds it took for the transaction to be completed

    extra_info object required

    This object provides information regarding how to redirect the customer

    attempts integer

    The payment attempts that have been used against this order

    data object required
    redirectUrl uri

    This is the url to which the customer should be redirected to complete the payment

    action string

    This always comes as poll for UPI collect

    info object required

    The info object provides information on the next api call

    url string

    Possible values: [/api/v2/transaction-enquiry]

    Mainly provides the enquiry url

    request_args object

    This contains the request params for the next api call

    order_id string

    This is the order passed in the request

    transaction_id string

    This is the unique transaction id generated by Nimbbl for this payment

    payment_mode string

    This is the payment mode chosen by the customer to pay for this order

Loading...