paymentsApi.createPayment returns an undefined result

paymentsApi.createPayment returns an undefined result when it’s logged. Shouldn;'t I have some kind of JSON RESPONSE?

const { paymentResult } = await paymentsApi.createPayment({
idempotencyKey: uuidv4(),
sourceId:sourceId,
customerId:customerId,
amountMoney: {
currency: ‘USD’,
amount: total
}
});

  console.log({paymentResult: paymentResult})

If you check your API Logs do you see the payment request? If so we will send a response. :slightly_smiling_face: