Getting started
Get started API Documentation with i100 Pay.
Introduction
Here are some steps to follow regarding i100 payment documentation.
step1: Genetate order
step2: Open url which you got in step1 response.
step3: Make payment and take a screen shot time limit (10 mins.)
step4: Enter utr and image for Payment Verification .
step5: Wait for accept your order if actioned then you can redirect your home page url.
Api Description
POST order generate
https://i100pay.com/api/order/generate
headers:
x-key: same as it is we provided
x-hash:
prepare your body and stringify it then encrypt using base64 (sha256) encryption key is secretkey .
vendor: same as it is we provided
Body raw {Json}
Json
{
"customerName": your customer name,
"merchantOrderID": generated orderid from your side,
"amount": 100(intiger format),
"returnUrl": your home url,
"website": same as it is we provided,
"type": "payin" fixed(static) string
}
Response:
error response format
HTTP:400 error code when something is wrong or missing things
Format like:
{ "success": false, "message": "Invalid Secret."}
success response format:
HTTP 200
{success: true, data:{redirectURL:""}}
You got a payment url just you need to open this url.
POST callback for payment accept or reject
Your callback or Webhook
Body raw {Json}
Json
{
customerName: your customer name,
merchantOrderID: your orderId,
amount: amount,
mode: payment Mode like UPI/BANK,
returnUrl: your home url,
status: Approved/Rejected,
utr: ref or utr number,
createdAt: order create datetime,
updatedAt: order action(accept/reject) date time,
reason: it's only for Rejected case
}
GET order status check
https://i100pay.com/api/order/status?orderId={orderId}
headers:
x-key: same as it is we provided
vendor: same as it is we provided
Query Params
orderId= our Order Id (Order Id get in order generate Response)