xendit / xendit-node

Xendit REST API Client for Node.js - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets, QR Codes, Direct Debit

Home Page:https://developers.xendit.co/api-reference/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing Required Params in Create Payout

KaranH15 opened this issue · comments

According to xendit documentation in create payout api there are multiple params that are required.
reference_id ,channel_code, channel_properties , amount , currency.
https://developers.xendit.co/api-reference/?javascript#create-payout

But in sdk only three params are there that are present in options.

Screenshot 2022-12-19 at 5 59 58 PM

We are using your sdk for invoices and I don't think it will work as of now to generate payouts. Any quick solutions to this ?

commented

@KaranH15 apologies for the delayed response. The screenshot you have provided refers to our Payout Links function on the SDK, which is different from the new Payouts API. Unfortunately, at this time we aren't able to add the Payouts API to our Node SDK due to resourcing constraints.

We recommend you directly integrate to the REST API. Our apologies 🙏