GET
/
v2.01
/
{ClientId}
/
clients
/
wallets
/
{FundsType}
/
{Currency}
/
transactions
const mangopayInstance = require('mangopay2-nodejs-sdk')
const mangopay = new mangopayInstance({
    clientId: 'your-client-id',
    clientApiKey: 'your-api-key',
})

let myWallet = {
  FundsType: 'FEES',
  Currency: 'EUR',
}

const listTransactionsClientWallet = async (fundsType, currency) => {
  return await mangopay.Clients.getClientWalletTransactions(fundsType, currency)
    .then((response) => {
      console.info(response)
      return response
    })
    .catch((err) => {
      console.log(err)
      return false
    })
}

listTransactionsClientWallet(myWallet.FundsType, myWallet.Currency)  
[
    {
        "Id": "po_m_01HY343CF0KFEPKFJ0QZ4HZ2VK",
        "Tag": "Custom data",
        "CreationDate": 1715944403,
        "AuthorId": "ExampleClientId",
        "CreditedUserId": null,
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 7836
        },
        "CreditedFunds": {
            "Currency": "EUR",
            "Amount": 7836
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1715944624,
        "Type": "PAYOUT",
        "Nature": "REGULAR",
        "CreditedWalletId": null,
        "DebitedWalletId": "FEES_EUR",
        "DepositId": null
    },
    {
        "Id": "cvr_01J2BS3XE0JE9F05MM5B6VCT15",
        "Tag": "Custom data",
        "CreationDate": 1720529843,
        "AuthorId": "ExampleClientId",
        "CreditedUserId": "ExampleClientId",
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 2617
        },
        "CreditedFunds": {
            "Currency": "USD",
            "Amount": 2830
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1720529845,
        "Type": "CONVERSION",
        "Nature": "REGULAR",
        "CreditedWalletId": "FEES_USD",
        "DebitedWalletId": "FEES_EUR",
        "DepositId": null
    }
]

This call returns all the transactions targeting or emitted from a Client Wallet, for example:

  • Fees payouts made from the Fees Wallet (FEES_CCY)
  • Repudiations and settlements made from or to the Repudiation Wallet (CREDIT_CCY)
  • Conversions between Client Wallets

Path parameters

FundsType
string
required

Allowed values: FEES, CREDIT

The type of funds in the Client Wallet:

  • FEES – Fees Wallet, for fees collected by the platform, specific to the Client Wallet object.
  • CREDIT – Repudiation Wallet, for funds for the platform’s dispute management, specific to the Client Wallet object.

Note: The Fees Wallet and Repudiation Wallet are created automatically by Mangopay for each currency.

Currency
string
required

Allowed values: The three-letter ISO 4217 code (EUR, GBP, etc.) of a supported currency (depends on feature, contract, and activation settings).

The currency of the wallet.

Responses

[
    {
        "Id": "po_m_01HY343CF0KFEPKFJ0QZ4HZ2VK",
        "Tag": "Custom data",
        "CreationDate": 1715944403,
        "AuthorId": "ExampleClientId",
        "CreditedUserId": null,
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 7836
        },
        "CreditedFunds": {
            "Currency": "EUR",
            "Amount": 7836
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1715944624,
        "Type": "PAYOUT",
        "Nature": "REGULAR",
        "CreditedWalletId": null,
        "DebitedWalletId": "FEES_EUR",
        "DepositId": null
    },
    {
        "Id": "cvr_01J2BS3XE0JE9F05MM5B6VCT15",
        "Tag": "Custom data",
        "CreationDate": 1720529843,
        "AuthorId": "ExampleClientId",
        "CreditedUserId": "ExampleClientId",
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 2617
        },
        "CreditedFunds": {
            "Currency": "USD",
            "Amount": 2830
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1720529845,
        "Type": "CONVERSION",
        "Nature": "REGULAR",
        "CreditedWalletId": "FEES_USD",
        "DebitedWalletId": "FEES_EUR",
        "DepositId": null
    }
]
const mangopayInstance = require('mangopay2-nodejs-sdk')
const mangopay = new mangopayInstance({
    clientId: 'your-client-id',
    clientApiKey: 'your-api-key',
})

let myWallet = {
  FundsType: 'FEES',
  Currency: 'EUR',
}

const listTransactionsClientWallet = async (fundsType, currency) => {
  return await mangopay.Clients.getClientWalletTransactions(fundsType, currency)
    .then((response) => {
      console.info(response)
      return response
    })
    .catch((err) => {
      console.log(err)
      return false
    })
}

listTransactionsClientWallet(myWallet.FundsType, myWallet.Currency)