Create an order from with Elite NEO Bank from your backend

To process any payment on Elite PG, the merchant needs to create an order in the Elite system. This order must be created from your backend (as it uses your secret key). On successful creation of the order, you will receive a payment link which can be used to process payments from anywhere.

curl  --request POST \
 --url {api_base_url}/order \
 --header 'Content-Type: application/json' \
 --header 'order-source: rest-api' \
 --header 'x-client-id: <App ID>' \
 --header 'x-client-secret: <Secret Key>' \
 --data '{
  "order_id": "order_1626945143520",
  "order_amount": 10.12,
  "order_currency": "INR",
  "order_note": "Additional order info",
  "service_type": "DIGITAL || PHYSICAL_GOODS",
  "customer_name": "name",
  "customer_email": "[email protected]",
  "customer_phone": "9816512345",
  "customer_address_line1": "Capital Office, Kemp House",
  "customer_address_line2": "152 - 160 City Road",
  "customer_address_city": "London",
  "customer_address_state": "London",
  "customer_address_country": "UK",
  "customer_address_postal_code": "EC1V 2NX",
  "order_checksum": "dg65sdg41d6f5g4dfg4fg4df6gdg==",
  "return_url": "https://merchant.in/process_return.php"
  }'
{
  "elite_order_id": 1539553,
  "created_at": "2021-07-19T16:13:35+05:30",
  "order_id": "order_1626945143520",
  "order_status": "UN_PAID",
  "order_token": "BtJEHHxOB9bFpNsaHmEL",
  "payment_link": "{api_base_url}/payment/BtJEHHxOB9bFpNsaHmEL"
  }
NameTypeDescriptionExample
order_idstring, requiredOrder identifier for your system.order_6765
order_amountfloat, required
(provide in two decimal places)
Order amount.12.70
order_currencystring, requiredValid order currency. We use the ISO 4217 currency list.INR
order_notestring, requiredOrder related extra detailPayment for web host
service_typestring, requiredOrder service type
DIGITAL {for digital services}
PHYSICAL_GOODS {for shipable goods}
DIGITAL
customer_namestring, requiredName of your customer.John Deo
customer_emailstring, requiredEmail of your customer.[email protected]
customer_phonestring, requiredContact details of your customer.9896989698
customer_address_line1string, requiredAddress of your customer.Capital Office, Kemp House, 152
customer_address_line2string, optionalExtra details about address of your customer.
customer_address_citystring, requiredCity of your customer.152 - 160 City Road
customer_address_statestring, requiredState of your customer.London
customer_address_countrystring, requiredCountry of your customer.UK
customer_address_postal_codestring, requiredPostal code of your customer.EC1V 2NX
order_checksumhash, requiredGenerated Checksumdg65sdg41d6f5g4dfg4fg4df6gdg==
return_urlurl, requiredReturn on merchant website from Elite Payments checkout page to pass transation statushttps://merchant.in/process_return.php