POST
/
orders
/
{order_number}
/
retry-payment
curl --request POST \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/orders/{order_number}/retry-payment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payment_mode": "payment-gateway"
}'
{
  "message": "<string>",
  "success": true,
  "content": {
    "payment_required": true,
    "payment_info": {
      "key": "<string>",
      "txnid": "<string>",
      "amount": "<string>",
      "productinfo": "<string>",
      "firstname": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "si": 123,
      "si_details": {
        "billingAmount": 123,
        "billingCurrency": "INR",
        "billingCycle": "MONTHLY",
        "billingInterval": 123,
        "paymentStartDate": "2023-12-25",
        "paymentEndDate": "2023-12-25"
      },
      "furl": "<string>",
      "surl": "<string>",
      "hash": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

order_number
string
required

order number

Body

application/json
payment_mode
enum<string>
Available options:
payment-gateway,
bank-transfer

Response

200 - application/json
OK
message
string
success
boolean
content
object