Steps to reproduce the behavior
await razorpay.payments.refund(payment_id, {
amount: 150000,
speed: "normal",
notes: {
appointment_id,
user_fhir_id,
reason
}
});
Error I am getting is :
{
statusCode: 400,
error: {
code: 'BAD_REQUEST_ERROR',
description: 'invalid request sent',
metadata: {},
reason: 'NA',
source: 'NA',
step: 'NA'
} }
Expected behavior
- This API should execute the refund , without throwing any error
Actual behavior
Code snippets
Node version
v22.14.0
Library version
^2.9.6
Additional Information
No response
Steps to reproduce the behavior
Error I am getting is :
Expected behavior
Actual behavior
Code snippets
Node version
v22.14.0
Library version
^2.9.6
Additional Information
No response