Razorpay
communityIndia payment gateway for businesses with UPI, cards, netbanking, and EMI.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api.razorpay.com/v1/ordersCreate payment order
Parameters
amountamount in paise (integerrequiredreceiptreceipt ID (stringoptionalcurrencyINR (stringrequiredReturns
id, amount, currency, status, created_atGET
https://api.razorpay.com/v1/paymentsList payments
Parameters
totimestamp (integeroptionalfromtimestamp (integeroptionalcountresults (integeroptionalReturns
items[] with id, amount, currency, status, method, email, contact, created_atGET
https://api.razorpay.com/v1/payments/{paymentId}Get payment details
Parameters
paymentIdpayment ID (stringrequiredReturns
id, amount, currency, status, method, description, bank, wallet, vpa, email, contact, fee, tax, captured