Instamojo · Example Payload

Create Payment Request

Example request and response for creating an Instamojo payment request

PaymentsE-CommerceIndiaPayment GatewayPayment LinksRefundsOrders

Create Payment Request is an example object payload from Instamojo, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Create Payment Request",
  "description": "Example request and response for creating an Instamojo payment request",
  "request": {
    "method": "POST",
    "url": "https://api.instamojo.com/v2/payment_requests/",
    "headers": {
      "Authorization": "Bearer c4e17ad5cc4e7b43b2f5f9ab9ca6c928",
      "Content-Type": "application/json"
    },
    "body": {
      "purpose": "Online Course Fee - Python Programming",
      "amount": "1499.00",
      "buyer_name": "Priya Sharma",
      "email": "priya.sharma@example.com",
      "phone": "+919876543210",
      "send_email": true,
      "send_sms": false,
      "redirect_url": "https://myecommerce.com/payment/success",
      "webhook": "https://myecommerce.com/webhooks/instamojo",
      "allow_repeated_payments": false
    }
  },
  "response": {
    "status": 200,
    "body": {
      "success": true,
      "payment_request": {
        "id": "ee5c9bf3e75445a8a7b8c3a7e2b4c9d1",
        "purpose": "Online Course Fee - Python Programming",
        "amount": "1499.00",
        "status": "Pending",
        "send_email": true,
        "send_sms": false,
        "email": "priya.sharma@example.com",
        "phone": "+919876543210",
        "buyer_name": "Priya Sharma",
        "redirect_url": "https://myecommerce.com/payment/success",
        "webhook": "https://myecommerce.com/webhooks/instamojo",
        "allow_repeated_payments": false,
        "longurl": "https://www.instamojo.com/@mymerchant/ee5c9bf3e75445",
        "created_at": "2026-06-13T10:30:00.000Z",
        "modified_at": "2026-06-13T10:30:00.000Z"
      }
    }
  }
}