Wallets

$viva->wallets->listDetailed()

Liste les portefeuilles avec des détails enrichis (IBAN, SWIFT, etc.).

$wallets = $viva->wallets->listDetailed();

foreach ($wallets as $wallet) {
    echo $wallet['iban'] . ' — ' . $wallet['amount'] . "\n";
    echo $wallet['isPrimary'] ? 'Principal' : 'Secondaire';
}
get/Wallets/listDetailed

Response

Liste détaillée des portefeuilles

ibanstring

IBAN du portefeuille

walletIdinteger

ID numérique du portefeuille

amountnumber float

Solde actuel

isPrimaryboolean

Portefeuille principal ?

currencyCodestring

Code devise ISO 4217

friendlyNamestring nullable

Nom d'affichage

Changes

Changed in 1 of the 9 revisions of this API.1