Create an Invoice with Customer Details
POST https://api.razorpay.com/v1/invoices
Request Body
{"type"=>"invoice", "description"=>"Invoice for the month of January 2020", "partial_payment"=>true, "customer"=>{"name"=>"Gaurav Kumar", "contact"=>9000090000, "email"=>"gaurav.kumar@example.com", "billing_address"=>{"line1"=>"Ground & 1st Floor, SJR Cyber Laskar", "line2"=>"Hosur Road", "zipcode"=>"560068", "city"=>"Bengaluru", "state"=>"Karnataka", "country"=>"in"}, "shipping_address"=>{"line1"=>"Ground & 1st Floor, SJR Cyber Laskar", "line2"=>"Hosur Road", "zipcode"=>"560068", "city"=>"Bengaluru", "state"=>"Karnataka", "country"=>"in"}}, "line_items"=>[{"name"=>"Master Cloud Computing in 30 Days", "description"=>"Book by Ravena Ravenclaw", "amount"=>399, "currency"=>"USD", "quantity"=>1}], "sms_notify"=>1, "email_notify"=>1, "currency"=>"USD", "expire_by"=>1589765167}
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: ``