Skip to content

Latest commit

 

History

History
72 lines (33 loc) · 1.14 KB

PayIns.md

File metadata and controls

72 lines (33 loc) · 1.14 KB

PayIns

MangoPay PayIns API Reference


PayIns.create(payIn, callback, options)

Create new pay-in

Parameters

payIn: Object, PayIn object

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

PayIns.get(payInId, callback, options)

Get pay-in

Parameters

payInId: number, PayIn identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

PayIns.createRefund(payInId, refund, callback, options)

Create refund for pay-in object

Parameters

payInId: number, PayIn identifier

refund: Object, Refund data

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

PayIns.getRefunds(payInId, callback, options)

Gets list of Refunds for a PayIn

Parameters

payInId: number, PayIn identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise