# MangoPay Node.js SDK Documentation

## Services
* [CardPreAuthorizations](CardPreAuthorizations.md)
* [CardRegistrations](CardRegistrations.md)
* [Cards](Cards.md)
* [DisputeDocuments](DisputeDocuments.md)
* [Disputes](Disputes.md)
* [Events](Events.md)
* [Hooks](Hooks.md)
* [KycDocuments](KycDocuments.md)
* [PayIns](PayIns.md)
* [PayOuts](PayOuts.md)
* [Refunds](Refunds.md)
* [Responses](Responses.md)
* [Transfers](Transfers.md)
* [Users](Users.md)
* [Wallets](Wallets.md)

## All available functions
| Function | Description | Source Code |
| -------- | ----------- | ----------- |
|[BankingAliases.activate](BankingAliases.md) | Activate banking alias | [..&#x2F;lib&#x2F;services&#x2F;BankingAliases.js](../lib/services/BankingAliases.js) |
|[Mandates.cancel](Mandates.md) | Cancel a mandate | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[Disputes.closeDispute](Disputes.md) | Close dispute | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Disputes.contestDispute](Disputes.md) | Contest dispute | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[CardRegistrations.create](CardRegistrations.md) | Create new card registration | [..&#x2F;lib&#x2F;services&#x2F;CardRegistrations.js](../lib/services/CardRegistrations.js) |
|[BankingAliases.create](BankingAliases.md) | Create a banking alias | [..&#x2F;lib&#x2F;services&#x2F;BankingAliases.js](../lib/services/BankingAliases.js) |
|[Hooks.create](Hooks.md) | Create new hook | [..&#x2F;lib&#x2F;services&#x2F;Hooks.js](../lib/services/Hooks.js) |
|[PayOuts.create](PayOuts.md) | Create new pay-out | [..&#x2F;lib&#x2F;services&#x2F;PayOuts.js](../lib/services/PayOuts.js) |
|[CardPreAuthorizations.create](CardPreAuthorizations.md) | Create new pre-authorization | [..&#x2F;lib&#x2F;services&#x2F;CardPreAuthorizations.js](../lib/services/CardPreAuthorizations.js) |
|[Mandates.create](Mandates.md) | Create a new Mandate | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[PayIns.create](PayIns.md) | Create new pay-in | [..&#x2F;lib&#x2F;services&#x2F;PayIns.js](../lib/services/PayIns.js) |
|[Wallets.create](Wallets.md) | Create new wallet | [..&#x2F;lib&#x2F;services&#x2F;Wallets.js](../lib/services/Wallets.js) |
|[Transfers.create](Transfers.md) | Create new transfer | [..&#x2F;lib&#x2F;services&#x2F;Transfers.js](../lib/services/Transfers.js) |
|[Reports.create](Reports.md) | Create a report | [..&#x2F;lib&#x2F;services&#x2F;Reports.js](../lib/services/Reports.js) |
|[.create](UboDeclarations.md) | Create a UBO declaration object from the API | [..&#x2F;lib&#x2F;services&#x2F;UboDeclarations.js](../lib/services/UboDeclarations.js) |
|[Users.create](Users.md) | Create a new user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.createBankAccount](Users.md) | Create bank account for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Disputes.createDisputeDocument](Disputes.md) | Creates document for dispute | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[DisputeDocuments.createDisputeDocumentConsult](DisputeDocuments.md) | Creates temporary URLs where each page of a dispute document can be viewed. | [..&#x2F;lib&#x2F;services&#x2F;DisputeDocuments.js](../lib/services/DisputeDocuments.js) |
|[Disputes.createDisputeDocumentPage](Disputes.md) | Creates document&#39;s page for dispute | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Disputes.createDisputeDocumentPageFromFile](Disputes.md) | Creates document&#39;s page for dispute from file | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Users.createKycDocument](Users.md) | Create new KYC document | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[KycDocuments.createKycDocumentConsult](KycDocuments.md) | Creates temporary URLs where each page of a KYC document can be viewed. | [..&#x2F;lib&#x2F;services&#x2F;KycDocuments.js](../lib/services/KycDocuments.js) |
|[Users.createKycPage](Users.md) | Create page for KYC document | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.createKycPageFromFile](Users.md) | Create page for KYC document | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[PayIns.createRefund](PayIns.md) | Create refund for pay-in object | [..&#x2F;lib&#x2F;services&#x2F;PayIns.js](../lib/services/PayIns.js) |
|[Transfers.createRefund](Transfers.md) | Create refund for transfer object | [..&#x2F;lib&#x2F;services&#x2F;Transfers.js](../lib/services/Transfers.js) |
|[Disputes.createSettlementTransfer](Disputes.md) | Creates settlement transfer | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[BankingAliases.deactivate](BankingAliases.md) | Deactivate banking alias | [..&#x2F;lib&#x2F;services&#x2F;BankingAliases.js](../lib/services/BankingAliases.js) |
|[Users.deactivateBankAccount](Users.md) | Deactivate a bank account | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[CardRegistrations.get](CardRegistrations.md) | Get registration | [..&#x2F;lib&#x2F;services&#x2F;CardRegistrations.js](../lib/services/CardRegistrations.js) |
|[Clients.get](Clients.md) | Get client by ID | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[BankingAliases.get](BankingAliases.md) | Get a banking alias | [..&#x2F;lib&#x2F;services&#x2F;BankingAliases.js](../lib/services/BankingAliases.js) |
|[Hooks.get](Hooks.md) | Get hook | [..&#x2F;lib&#x2F;services&#x2F;Hooks.js](../lib/services/Hooks.js) |
|[PayOuts.get](PayOuts.md) | Get payout | [..&#x2F;lib&#x2F;services&#x2F;PayOuts.js](../lib/services/PayOuts.js) |
|[DisputeDocuments.get](DisputeDocuments.md) | Gets dispute&#39;s document | [..&#x2F;lib&#x2F;services&#x2F;DisputeDocuments.js](../lib/services/DisputeDocuments.js) |
|[KycDocuments.get](KycDocuments.md) | Get KycDocument | [..&#x2F;lib&#x2F;services&#x2F;KycDocuments.js](../lib/services/KycDocuments.js) |
|[CardPreAuthorizations.get](CardPreAuthorizations.md) | Get pre-authorization object | [..&#x2F;lib&#x2F;services&#x2F;CardPreAuthorizations.js](../lib/services/CardPreAuthorizations.js) |
|[Cards.get](Cards.md) | Get card | [..&#x2F;lib&#x2F;services&#x2F;Cards.js](../lib/services/Cards.js) |
|[Mandates.get](Mandates.md) | Get mandate by ID | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[PayIns.get](PayIns.md) | Get pay-in | [..&#x2F;lib&#x2F;services&#x2F;PayIns.js](../lib/services/PayIns.js) |
|[Disputes.get](Disputes.md) | Get dispute | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Responses.get](Responses.md) | Get response from previous call | [..&#x2F;lib&#x2F;services&#x2F;Responses.js](../lib/services/Responses.js) |
|[Refunds.get](Refunds.md) | Get events | [..&#x2F;lib&#x2F;services&#x2F;Refunds.js](../lib/services/Refunds.js) |
|[Wallets.get](Wallets.md) | Get pay-in | [..&#x2F;lib&#x2F;services&#x2F;Wallets.js](../lib/services/Wallets.js) |
|[Transfers.get](Transfers.md) | Get transfer | [..&#x2F;lib&#x2F;services&#x2F;Transfers.js](../lib/services/Transfers.js) |
|[Reports.get](Reports.md) | Get a report | [..&#x2F;lib&#x2F;services&#x2F;Reports.js](../lib/services/Reports.js) |
|[.get](UboDeclarations.md) | Retrieves a UBO declaration object from the API. | [..&#x2F;lib&#x2F;services&#x2F;UboDeclarations.js](../lib/services/UboDeclarations.js) |
|[Users.get](Users.md) | Get natural or legal user by ID | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Events.getAll](Events.md) | Get events | [..&#x2F;lib&#x2F;services&#x2F;Events.js](../lib/services/Events.js) |
|[BankingAliases.getAll](BankingAliases.md) | Get all banking aliases | [..&#x2F;lib&#x2F;services&#x2F;BankingAliases.js](../lib/services/BankingAliases.js) |
|[Hooks.getAll](Hooks.md) | Get all hooks | [..&#x2F;lib&#x2F;services&#x2F;Hooks.js](../lib/services/Hooks.js) |
|[DisputeDocuments.getAll](DisputeDocuments.md) | Gets dispute&#39;s documents for client | [..&#x2F;lib&#x2F;services&#x2F;DisputeDocuments.js](../lib/services/DisputeDocuments.js) |
|[KycDocuments.getAll](KycDocuments.md) | Get all KycDocuments | [..&#x2F;lib&#x2F;services&#x2F;KycDocuments.js](../lib/services/KycDocuments.js) |
|[Mandates.getAll](Mandates.md) | Get all mandates | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[Disputes.getAll](Disputes.md) | Get all disputes | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Reports.getAll](Reports.md) | Get all reports | [..&#x2F;lib&#x2F;services&#x2F;Reports.js](../lib/services/Reports.js) |
|[Users.getAll](Users.md) | Get all users | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.getBankAccount](Users.md) | Get all bank accounts for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.getBankAccounts](Users.md) | Get all bank accounts for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Cards.getByFingerprint](Cards.md) | Gets a list of cards having the same fingerprint.
The fingerprint is a hash uniquely generated per 16-digit card number. | [..&#x2F;lib&#x2F;services&#x2F;Cards.js](../lib/services/Cards.js) |
|[.getById](UboDeclarations.md) | Retrieves a UBO declaration object from the API. | [..&#x2F;lib&#x2F;services&#x2F;UboDeclarations.js](../lib/services/UboDeclarations.js) |
|[Users.getCards](Users.md) | Get all cards for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Clients.getClientWallet](Clients.md) | Get a client wallet | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[Clients.getClientWalletTransactions](Clients.md) | Get a client wallet&#39;s transactions | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[Clients.getClientWallets](Clients.md) | Get all client wallets | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[Clients.getClientWalletsByFundsType](Clients.md) | Get client wallets by the type of funds | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[Disputes.getDisputesForUser](Disputes.md) | Gets user&#39;s disputes | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Disputes.getDisputesForWallet](Disputes.md) | Gets dispute&#39;s documents for wallet | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Disputes.getDocumentsForDispute](Disputes.md) | Gets documents for dispute | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Users.getEMoney](Users.md) | Get users&#39;s EMoney | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.getKycDocument](Users.md) | Get KYC document | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.getKycDocuments](Users.md) | Get all KYC documents for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.getLegal](Users.md) | Get legal user by ID | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Mandates.getMandatesForBankAccount](Mandates.md) | Gets bank account mandates | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[Mandates.getMandatesForUser](Mandates.md) | Gets user&#39;s mandates | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[Users.getNatural](Users.md) | Get natural user by ID | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Disputes.getPendingSettlement](Disputes.md) | Retrieve a list of Disputes pending settlement | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Cards.getPreAuthorizations](Cards.md) | Gets list of PreAuthorizations of a Card. | [..&#x2F;lib&#x2F;services&#x2F;Cards.js](../lib/services/Cards.js) |
|[PayOuts.getRefunds](PayOuts.md) | Gets list of Refunds of a PayOut | [..&#x2F;lib&#x2F;services&#x2F;PayOuts.js](../lib/services/PayOuts.js) |
|[PayIns.getRefunds](PayIns.md) | Gets list of Refunds for a PayIn | [..&#x2F;lib&#x2F;services&#x2F;PayIns.js](../lib/services/PayIns.js) |
|[Repudiations.getRefunds](Repudiations.md) | Gets list of Refunds of a Repudiation | [..&#x2F;lib&#x2F;services&#x2F;Repudiations.js](../lib/services/Repudiations.js) |
|[Transfers.getRefunds](Transfers.md) | Gets list of Refunds of a Transfer | [..&#x2F;lib&#x2F;services&#x2F;Transfers.js](../lib/services/Transfers.js) |
|[Disputes.getRepudiation](Disputes.md) | Gets repudiation | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Disputes.getSettlementTransfer](Disputes.md) | Gets settlement transfer | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[BankAccounts.getTransactions](BankAccounts.md) | Retrieve list of transactions for a bank account | [..&#x2F;lib&#x2F;services&#x2F;BankAccounts.js](../lib/services/BankAccounts.js) |
|[Cards.getTransactions](Cards.md) | Get list of Transactions of a Card | [..&#x2F;lib&#x2F;services&#x2F;Cards.js](../lib/services/Cards.js) |
|[Mandates.getTransactions](Mandates.md) | Gets Transactions for a Mandate | [..&#x2F;lib&#x2F;services&#x2F;Mandates.js](../lib/services/Mandates.js) |
|[Disputes.getTransactions](Disputes.md) | Gets dispute&#39;s transactions | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Wallets.getTransactions](Wallets.md) | Get transactions for the wallet | [..&#x2F;lib&#x2F;services&#x2F;Wallets.js](../lib/services/Wallets.js) |
|[Users.getTransactions](Users.md) | Get all transactions for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Users.getWallets](Users.md) | Get all wallets accounts for user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Disputes.resubmitDispute](Disputes.md) | This method is used to resubmit a Dispute if it is reopened requiring more docs | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[CardRegistrations.update](CardRegistrations.md) | Update card registration | [..&#x2F;lib&#x2F;services&#x2F;CardRegistrations.js](../lib/services/CardRegistrations.js) |
|[Clients.update](Clients.md) | Update client | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[BankingAliases.update](BankingAliases.md) | Update banking alias | [..&#x2F;lib&#x2F;services&#x2F;BankingAliases.js](../lib/services/BankingAliases.js) |
|[Hooks.update](Hooks.md) | Save hook | [..&#x2F;lib&#x2F;services&#x2F;Hooks.js](../lib/services/Hooks.js) |
|[CardPreAuthorizations.update](CardPreAuthorizations.md) | Update pre-authorization object | [..&#x2F;lib&#x2F;services&#x2F;CardPreAuthorizations.js](../lib/services/CardPreAuthorizations.js) |
|[Cards.update](Cards.md) | Update card | [..&#x2F;lib&#x2F;services&#x2F;Cards.js](../lib/services/Cards.js) |
|[Disputes.update](Disputes.md) | Update dispute&#39;s tag | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Wallets.update](Wallets.md) | Update wallet | [..&#x2F;lib&#x2F;services&#x2F;Wallets.js](../lib/services/Wallets.js) |
|[.update](UboDeclarations.md) | Updates a UBO declaration entity. | [..&#x2F;lib&#x2F;services&#x2F;UboDeclarations.js](../lib/services/UboDeclarations.js) |
|[Users.update](Users.md) | Save user | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Disputes.updateDisputeDocument](Disputes.md) | Update dispute document | [..&#x2F;lib&#x2F;services&#x2F;Disputes.js](../lib/services/Disputes.js) |
|[Users.updateKycDocument](Users.md) | Save KYC document | [..&#x2F;lib&#x2F;services&#x2F;Users.js](../lib/services/Users.js) |
|[Clients.uploadLogo](Clients.md) | Upload client logo | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[Clients.uploadLogoFromFile](Clients.md) | Upload client logo from file | [..&#x2F;lib&#x2F;services&#x2F;Clients.js](../lib/services/Clients.js) |
|[.withIdempotency](OptionsHelper.md) | Adds Idempotency-Key headers to the provided &#39;options&#39; parameter | [..&#x2F;lib&#x2F;services&#x2F;OptionsHelper.js](../lib/services/OptionsHelper.js) |
