Orders
Enkash Order APIs & Status
Creating an order is a crucial step in the payment process with our payment gateway. When a customer clicks the pay button on your website or app, an order is generated with a unique identifier, including details like transaction amount and currency. This order ID secures the payment request, ensuring that the order amount cannot be tampered with. Pass this order ID to our Checkout for secure processing.
To proceed with integrating our Payment Gateway on your website or app, you need to first integrate with our Orders API
Advantages
Single Successful Payment Bound to an Order: Ensures that only one successful payment is associated with each order, preventing multiple payments.
Quick and Easy Database Query: Facilitates efficient querying in the database by combining multiple payment attempts for a single order.
Order Status
Status | Description |
---|---|
CREATED |
Order created successfully |
CHECKOUT_RENDERED |
Customer was successfully redirected to the Enkash checkout page |
PAID |
Payment is successful |
CANCELLED |
Transaction was cancelled by the customer |
ATTEMPTED |
Payment attempted by the customer |
EXPIRED |
Order is expired |
PAYMENT_CONFIRMATION_PENDING |
Transaction confirmation is pending from the customer's bank |