razorpay-node: Getting "The requested URL was not found on the server" error on payout api.
Hi team, I am getting the error “The requested URL was not found on the server”
My error is
"statusCode": 400,
"error": {
"code": "BAD_REQUEST_ERROR",
"description": "The requested URL was not found on the server.",
"source": null,
"step": null,
"reason": null,
"metadata": {}
}
My code is
const payOutData={
here I have set all params
}
var paymentDetail= await RZP.transfers.create(payOutData)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 11
- Comments: 15 (2 by maintainers)
@pk4all sorry for the late response . the error occurred because your account is not enabled for features also this is an API of Razorpay-X, so you need the Razorpay-X account to access it.
@virendra34 @pnutmath you can use this code-snippet for validate VPA.
instance.payments.validateVpa({ "vpa": "gauravkumar@exampleupi" });
Please let us know if you need any help.