Adyen / adyen-node-api-library

Adyen API Library for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] SaleData missing in typings for ReversalRequest

talalwaseem50 opened this issue · comments

Describe the bug
According to Terminal API Reference here, when making ReversalRequest, the SaleData field exists. But in this node api implementation, it doesn't. This field is necessary to send information in case of refunding an ecommerce payment as described here.

To Reproduce
Import the library into working project and try to create the ReversalRequest and try to add SaleData in it.

Expected behavior
No TS errors and SaleData in ReversalRequest being typed.