REST API
The Ippopay Payments plugin allows you to accept credit card, UPI, Netbanking and debit card payments via Ippopay payment gateway.
Create Order
POST
https://public_key:secret_key@api.ippopay.com/v1/order/create
Use this api to create your order on Ippopay to use it for initiating transaction. You can get your keys from the api dashboard.
Request Body
Name | Type | Description |
---|---|---|
notify_url | string | Your webhook url |
amount | number | The Order amount to be charged in format ##.## |
currency | string | The currency to be charged, Defaults to INR. |
payment_modes | string | Payment modes to be enabled for this order, Defaults to Credit, Debit Cards, Netbanking and UPI. |
customer | object | Information of the customer, if not provided will be prompted on payment page. |
Get Order Details
GET
https://public_key:secret_key@api.ippopay.com/v1/order/ORDER_ID
Use this API to get your order details.
Get Transaction Details for Order
GET
https://public_key:secret_key@api.ippopay.com/v1/order/ORDER_ID/transaction
Use this API to get your transaction details for the successful order.
Refund Request
POST
https://public_key:secret_key@api.ippopay.com/v1/order/refund/YOUR_ORDER_ID
Use this API to refund for your order on Ippopay.
Request Body
Name | Type | Description |
---|---|---|
refund_amt | number | Pass this parameter to do a partial refund. |
Last updated