Skip to content

Instantly share code, notes, and snippets.

@shivamshahi07
Created February 11, 2026 11:33
Show Gist options
  • Select an option

  • Save shivamshahi07/561b845bfdf46483296cd9688bc0a8a0 to your computer and use it in GitHub Desktop.

Select an option

Save shivamshahi07/561b845bfdf46483296cd9688bc0a8a0 to your computer and use it in GitHub Desktop.
Razorpay Integration E2E Test Results
[
{
"tool": "razorpay_list_payments",
"input": {
"count": 5
},
"output": {
"count": 2,
"payments": [
{
"id": "pay_SEnyGqmvKXjdQn",
"amount": 50000,
"currency": "INR",
"status": "captured",
"method": "netbanking"
},
{
"id": "pay_SEnvtzlAeMhAjB",
"amount": 50000,
"currency": "INR",
"status": "failed",
"method": "card"
}
]
}
},
{
"tool": "razorpay_get_payment",
"input": {
"payment_id": "pay_SEnyGqmvKXjdQn"
},
"output": {
"id": "pay_SEnyGqmvKXjdQn",
"amount": 50000,
"currency": "INR",
"status": "captured",
"method": "netbanking",
"captured": true,
"email": "void@razorpay.com",
"contact": "+919354988036"
}
},
{
"tool": "razorpay_create_payment_link",
"input": {
"amount": 50000,
"currency": "INR",
"description": "Test payment link for E2E verification"
},
"output": {
"id": "plink_SEoxiTHrd5q2R4",
"short_url": "https://rzp.io/rzp/PJWpXT2",
"amount": 50000,
"currency": "INR",
"status": "created"
}
},
{
"tool": "razorpay_list_invoices",
"input": {
"count": 5
},
"output": {
"count": 1,
"invoices": [
{
"id": "inv_SEoNA2S2fc7DzT",
"amount": 50000,
"currency": "INR",
"status": "issued"
}
]
}
},
{
"tool": "razorpay_get_invoice",
"input": {
"invoice_id": "inv_SEoNA2S2fc7DzT"
},
"output": {
"id": "inv_SEoNA2S2fc7DzT",
"amount": 50000,
"currency": "INR",
"status": "issued",
"line_items": [
{
"id": "li_SEoNAAK7f3WmXA",
"item_id": null,
"ref_id": null,
"ref_type": null,
"name": "Test Product",
"description": "Test product for invoice testing",
"amount": 50000,
"unit_amount": 50000,
"gross_amount": 50000,
"tax_amount": 0,
"taxable_amount": 50000,
"net_amount": 50000,
"currency": "INR",
"type": "invoice",
"tax_inclusive": false,
"hsn_code": null,
"sac_code": null,
"tax_rate": null,
"unit": null,
"quantity": 1,
"taxes": []
}
]
}
},
{
"tool": "razorpay_create_refund",
"input": {
"payment_id": "pay_SEnyGqmvKXjdQn",
"amount": 10000
},
"output": {
"id": "rfnd_SEoxklQ5V60IwY",
"payment_id": "pay_SEnyGqmvKXjdQn",
"amount": 10000,
"currency": "INR",
"status": "processed"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment