UNPKG

moip-sdk-node-ts

Version:
14 lines (13 loc) 627 B
import * as types from './payment-types'; declare const _default: { getOne: (_id: string) => Promise<any>; create: (orderId: string, payment: types.Payment.Create.Payload) => Promise<types.Payment.Create.Response>; preAuthorizationCapture: (_id: string) => Promise<types.Payment.Create.Response>; preAuthorizationCancel: (_id: string) => Promise<types.Payment.Create.Response>; _authorize: (_id: string, amount: string) => Promise<any>; refunds: { refund: (_id: string, refund: types.Refund) => Promise<any>; getRefunds: (_id: string) => Promise<any>; }; }; export default _default;