GET
/
v2.01
/
{ClientId}
/
payins
/
card
/
web
/
{PayInId}
/
extended
<?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 {
    $payInId = '200015365';

    $response = $api->PayIns->GetExtendedCardView($payInId);

    print_r($response);
} catch(MGPResponseException $e) {
    print_r($e);
} catch(MGPException $e) {
    print_r($e);
}  
{
   "Id": "150523529",
   "PaymentType": "CARD",
   "ExecutionType": "WEB",
   "ExpirationDate": "0323",
   "Alias": "497010XXXXXX6588",
   "CardType": "CB_VISA_MASTERCARD",
   "Country": "FRA",
   "Fingerprint": "586d14a7ee9244dd8a7a51bb79aafc24"
}  
Caution – Endpoint temporarily unavailableDue to ongoing improvements to Mangopay’s card processing technology, this endpoint temporarily returns a 500 Internal Server Error.Mangopay is working on reinstating support for this endpoint. For any queries, please contact Support via the Dashboard.

Path parameters

PayInId
string
required
The unique identifier of the pay-in.

Responses

{
   "Id": "150523529",
   "PaymentType": "CARD",
   "ExecutionType": "WEB",
   "ExpirationDate": "0323",
   "Alias": "497010XXXXXX6588",
   "CardType": "CB_VISA_MASTERCARD",
   "Country": "FRA",
   "Fingerprint": "586d14a7ee9244dd8a7a51bb79aafc24"
}  
<?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 {
    $payInId = '200015365';

    $response = $api->PayIns->GetExtendedCardView($payInId);

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