Skip to content

Latest commit

 

History

History
72 lines (33 loc) · 1.21 KB

Transfers.md

File metadata and controls

72 lines (33 loc) · 1.21 KB

Transfers

MangoPay Transfers API Reference


Transfers.create(transfer, callback, options)

Create new transfer

Parameters

transfer: Object, Transfer object

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Transfers.get(transferId, callback, options)

Get transfer

Parameters

transferId: number, Transfer identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Transfers.createRefund(transferId, refund, callback, options)

Create refund for transfer object

Parameters

transferId: number, Transfer identifier

refund: Object, Refund object

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Transfers.getRefunds(transferId, callback, options)

Gets list of Refunds of a Transfer

Parameters

transferId: number, Transfer identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise