Generate CCAvenue Payment Link

Generates a CCAvenue UPI payment link for an order, optionally pre-filled with the customer's billing details.

Before you call

  • configurationName must be a UPI payment configuration with CCAvenue credentials attached.
  • items is required, with at least one item. Each item has a name (up to 60 characters), a positive amount and an integer quantity (1 or more).
  • saleAmount, tax, shipping and discount are optional.
  • referenceId is optional (up to 35 characters). If you leave it out, one is generated for you.
  • billing is optional. Use it to pre-fill name, email, phone and address on the payment page.

How it works

  • The amount charged is the sum of each item's price × quantity (using saleAmount when set), plus tax and shipping, minus discount.
  • Returns paymentLink and referenceId. No payment record is created yet.
  • Send both values, with the same items, in Send Whatsapp Order (Payment) Message so the payment can be tracked.
  • Fails with 400 if the configuration is not a UPI configuration or is missing CCAvenue credentials.

Rate limit

  • 60 requests per minute.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json