-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
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
- Throwing error
Code snippets
Node version
v22.14.0
Library version
^2.9.6
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels