UNPKG

mangopay2-nodejs-sdk-testing

Version:
66 lines (25 loc) 1.25 kB
# CardPreAuthorizations [MangoPay Card Pre-Authorizations API Reference](https://docs.mangopay.com/api-references/card/pre-authorization/) * * * ### 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 * * *