GET
/
v2.01
/
{ClientId}
/
bankingaliases
/
{BankingAliasId}
<?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 {
    $bankingAliasId = '157608228';

    $response = $api->BankingAliases->Get($bankingAliasId);

    print_r($response);
} catch(MGPResponseException $e) {
    print_r($e);
} catch(MGPException $e) {
    print_r($e);
}  
{
    "OwnerName": "Alex Smith",
    "IBAN": "FR7674521100005657670994474",
    "BIC": "MPAYFRP1PIN",
    "CreditedUserId": "user_m_01HSB23417BFG7YXR7E371JSEA",
    "Country": "FR",
    "Tag": "Created using Mangopay API Postman Collection",
    "CreationDate": 1710846581,
    "Active": true,
    "Type": "IBAN",
    "Id": "wltbank_m_01HSB6E769Y3ZBYDJACSP3THGA",
    "WalletId": "wlt_m_01HSB6DE1YT1EMTH0K7ASYPG96"
}

Query parameters

BankingAliasId
string
required

The unique identifier of the banking alias.

Responses

{
    "OwnerName": "Alex Smith",
    "IBAN": "FR7674521100005657670994474",
    "BIC": "MPAYFRP1PIN",
    "CreditedUserId": "user_m_01HSB23417BFG7YXR7E371JSEA",
    "Country": "FR",
    "Tag": "Created using Mangopay API Postman Collection",
    "CreationDate": 1710846581,
    "Active": true,
    "Type": "IBAN",
    "Id": "wltbank_m_01HSB6E769Y3ZBYDJACSP3THGA",
    "WalletId": "wlt_m_01HSB6DE1YT1EMTH0K7ASYPG96"
}
<?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 {
    $bankingAliasId = '157608228';

    $response = $api->BankingAliases->Get($bankingAliasId);

    print_r($response);
} catch(MGPResponseException $e) {
    print_r($e);
} catch(MGPException $e) {
    print_r($e);
}