Skip to content

Latest commit

 

History

History
55 lines (25 loc) · 1.14 KB

CardPreAuthorizations.md

File metadata and controls

55 lines (25 loc) · 1.14 KB

CardPreAuthorizations

MangoPay Card Pre-Authorizations API Reference


CardPreAuthorizations.create(cardPreAuthorization, callback, options)

Create new pre-authorization

Parameters

cardPreAuthorization: Object, CardPreAuthorization object or properties hash

callback: function, Callback function

options: Object, Request options

Returns: Object, Promise of the request

CardPreAuthorizations.get(cardPreAuthorizationId, callback, options)

Get pre-authorization object

Parameters

cardPreAuthorizationId: number, PreAuthorization identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

CardPreAuthorizations.update(cardPreAuthorization, callback, options)

Update pre-authorization object

Parameters

cardPreAuthorization: Object, CardPreAuthorization object of properties hash

callback: function, Update pre-authorization object

options: Object, Update pre-authorization object

Returns: Object, Request promise