razorpay / razorpay-go

Razorpay Go SDK
MIT License
37 stars 24 forks source link

invoice doc correction #72

Closed ankitdas13 closed 2 years ago

ankitdas13 commented 2 years ago

Create an invoice (sdk audit) : update

Update an invoice (sdk audit) :

`para_attr = { "line_items": [ { "id": "li_JpNz5IZZcAtRFU", "name": "Book / English August - Updated name and quantity", "quantity": 1 }, { "name": "Book / A Wild Sheep Chase", "amount": 200, "currency": "INR", "quantity": 1 } ], "notes": { "updated-key": "An updated note. done" } }

Razorpay::Invoice.edit(invoiceId,para_attr)`

Delete an invoice (sdk audit) : You can only delete an invoice that is in the draft state