Skip to content

Latest commit

 

History

History
82 lines (38 loc) · 1.43 KB

Cards.md

File metadata and controls

82 lines (38 loc) · 1.43 KB

Cards

MangoPay Cards API Reference


Cards.get(cardId, callback, options)

Get card

Parameters

cardId: number, Card identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Cards.getByFingerprint(fingerprint)

Gets a list of cards having the same fingerprint. The fingerprint is a hash uniquely generated per 16-digit card number.

Parameters

fingerprint: , The fingerprint hash

Returns: , List of Cards corresponding to provided fingerprint

Cards.update(card, callback, options)

Update card

Parameters

card: Object, Card object of properties hash

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Cards.getTransactions(cardId, callback, options)

Get list of Transactions of a Card

Parameters

cardId: number, Card identifier

callback: function, Callback function

options: object, Request options

Returns: object, Request promise

Cards.getPreAuthorizations(cardId, callback, options)

Gets list of PreAuthorizations of a Card.

Parameters

cardId: number, Card identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise