Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

378
Vistas
Unable to create transfers from payment_Id using razorpay route service

This is my backend code build using nestJs framework.

transferOrder = async (amount: number): Promise<any> => {
    const razorpayInstance = new Razorpay({ key_id: process.env.LIVE_PAYMENT_KEY_ID, key_secret: process.env.LIVE_PAYMENT_KEY_SECRET });
    try {
      return await razorpayInstance.payments.fetch({
        id: "pay_IWasxxxxxNeRmo",
        transfers: {
          id: "pay_IWasWEFzoNeRmo",
          account: "acc_HjRGxxxxxI0jI",
          amount: amount,
          currency: "INR",
          notes: {
            name: "Gaurav Kumar",
            roll_no: "IEC2011025"
          },
          linked_account_notes: [
            "branch"
          ],
          on_hold: 0,
        }
      })
    } catch (error) {
      if (error) {
        console.log(error);
        throw error;
      }
    }

When I excecute this code am getting an error. I am not sure if am passing the payment_id correctly or not but I tried everthing possible but still getting the same error.

The error I am getting

{
  statusCode: 400,
  error: {
    code: 'BAD_REQUEST_ERROR',
    description: 'The id provided does not exist',
    source: 'business',
    step: 'payment_initiation',
    reason: 'input_validation_failed',
    metadata: {}
  }
}

Please help me to fix the issue

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda