Closed darai0512 closed 3 years ago
See http://payjp-announce.hatenablog.com/entry/2020/12/10/141657
Add types of (tenant_)transfer.summary.dispute_amount and dispute_count.
import * as Payjp from './src' const payjp = Payjp('sk_test_c62fade9d045b54cd76d7036') payjp.transfers.list({ limit: 1, }).then((transfers: Payjp.List<Payjp.Transfer>): number => { return transfers.data[0].summary.dispute_amount }).then(console.log)
See http://payjp-announce.hatenablog.com/entry/2020/12/10/141657
Add types of (tenant_)transfer.summary.dispute_amount and dispute_count.