Skip to main content

Confirm Order API

The API is used to confirm the orders created by the “Create Order API“ only when payment method is “ONLINE”, No need to call this API in “COD” orders. Merchant partners must call this API to confirm the orders created by the Create Order API in the previous step.

Depending upon the payment_method chosen in the Create Order API additional information might be needed from the merchant partner to complete this API call.

If the payment_method is ONLINE, 1mg will check the status of the payment for this order in the merchant partner system before confirming the order. Merchants need to provide 1mg with a set of APIs to enable 1mg to check the status of the payment, refund payment, etc in the merchant partner system. These APIs are explained in the payment APIs section for the main doc.

Path Parameters
  • merchant_id string required
  • merchant_confirm_1mg_id string required
Header Parameters
  • X-Access-Key string

    Default value: 1mg_client_access_key

Request Body
  • merchant_order_id string
  • order_id string
Responses

OK

Response Headers
  • Date string
  • Content-Type string
  • Transfer-Encoding string
  • Connection string
  • Vary string
  • X-Request-ID string
  • VISITOR-ID string
  • X-VISITOR-ID string
  • Server string
  • Access-Control-Allow-Methods string
  • Access-Control-Allow-Headers string
  • Access-Control-Allow-Origin string
  • Content-Encoding string

Schema
  • object
Loading...