Responses
200
200
The list of Client Wallets.
Show properties
Show properties
The Client Wallet object created by MANGOPAY.
Show properties
Show properties
The current balance of the wallet.
Show properties
Show properties
Returned 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 balance.
An amount of money in the smallest sub-division of the currency (e.g., EUR 12.60 would be represented as
1260
whereas JPY 12 would be represented as just 12
).Returned 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.
Returned values:
DEFAULT
, FEES
, CREDIT
The type of funds in the wallet:DEFAULT
– Regular funds for user-owned wallets. Wallets with thisFundsType
cannot have a negative balance.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.
The unique identifier of the wallet.The
Id
of Client Wallet object has the format FundsType
_Currency
, for example: FEES_EUR
, CREDIT_GBP
, etc.Max. length: 255 charactersCustom data that you can add to this object.
For wallets, you can use this parameter to identify the corresponding end user in your platform.
For wallets, you can use this parameter to identify the corresponding end user in your platform.
The date and time at which the wallet was created.
Copy
Ask AI
[
{
"Balance": {
"Currency": "EUR",
"Amount": 1027
},
"Currency": "EUR",
"FundsType": "FEES",
"Id": "FEES_EUR",
"Tag": null,
"CreationDate": 1658926202
},
{
"Balance": {
"Currency": "EUR",
"Amount": 5000
},
"Currency": "EUR",
"FundsType": "CREDIT",
"Id": "CREDIT_EUR",
"Tag": null,
"CreationDate": 1658926202
}
]
Copy
Ask AI
<?php
require_once 'vendor/autoload.php';
use MangoPay\MangoPayApi;
use MangoPay\Libraries\ResponseException as MGPResponseException;
use MangoPay\Libraries\Exception as MGPException;
$api = new MangoPayApi();
$api->Config->ClientId = 'your-client-id';
$api->Config->ClientPassword = 'your-api-key';
$api->Config->TemporaryFolder = 'tmp/';
try {
$response = $api->Clients->GetWallets();
print_r($response);
} catch(MGPResponseException $e) {
print_r($e);
} catch(MGPException $e) {
print_r($e);
}