Get Razorpay Payment ORDER ID
Fire this api to get the razorpay order id
This endpoint allows you to get razorpay payment id.
GET
https://yourdomain.com /api/rpay/paymentid /api/rpay/paymentid
Headers
Name
Type
Description
Authorization*
string
Bearer {bearer_token without brackets}.
Accept*
string
application/json
Request Body
Name
Type
Description
amount*
string
Send Amount in Integer form suppose paid amount is 240.40 then send it as 240.40*100 = 24040 (no commas).
{
"amount": 50,
"order_id": "order_GnDmNHLmMoYjEU"
}
IF response fail
{
"msg": "The amount field is required.",
"status": "fail"
}
Last updated
Was this helpful?