Generate Invoice

A merchant can perform following Invoice operations using our REST API.

   Merchant can generate an invoice for the customer. Customer will be informed regarding the generated invoice for his order through email. Customer can pay his order using the link provided on the email.

How to Generate Invoice?

Invoice generation request has to be sent to our REST endpoint i.e. invoiceServices/REST/v1/generate using POST method.

In our API Specifications you can find a full list of parameters that can be sent in the initial request.

   To generate invoice merchant first needs to generate authentication token and set it in header. To generate auth token please refer Auth token API.

Sample Request

Sample Response

Hashing Rule

is supporting MD5 Cryptographic Hash for the authenticity of payment request send to the server.

Below is the description of fields use for generating checksum.

  • memberId <Merchant ID as shared by >
  • secureKey <Secure Key that can be generated through 's dashboard>
  • merchantInvoiceId <Unique invoice ID provided by merchant>
  • amount <Amount of transaction>
  • merchantRedirectUrl <Redirect URL which is given by merchant in request>

How to generate Checksum ?

Checksum has to be calculated with following combination and need to be send along with the authentication parameters in each server-to-server request:

Generate Invoice:

Sample Code