Skip to main content
GET
/
v2.01
/
{ClientId}
/
disputes
/
{DisputeId}
/
documents
<?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 {
    $disputeId = '192746554';

    $response = $api->Disputes->GetDocumentsForDispute($disputeId);

    print_r($response);
} catch(MGPResponseException $e) {
    print_r($e);
} catch(MGPException $e) {
    print_r($e);
}  
[
    {
        "DisputeId": "159102965",
        "Type": "DELIVERY_PROOF",
        "Id": "159188418",
        "Tag": null,
        "CreationDate": 1672655973,
        "ProcessedDate": null,
        "Status": "VALIDATION_ASKED",
        "RefusedReasonType": null,
        "RefusedReasonMessage": null
    }
]  

Documentation Index

Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt

Use this file to discover all available pages before exploring further.

Path parameters

DisputeId
string
required
The unique identifier of the dispute.

Responses

Array (Dispute documents)
array
The list of dispute documents created by the platform.
[
    {
        "DisputeId": "159102965",
        "Type": "DELIVERY_PROOF",
        "Id": "159188418",
        "Tag": null,
        "CreationDate": 1672655973,
        "ProcessedDate": null,
        "Status": "VALIDATION_ASKED",
        "RefusedReasonType": null,
        "RefusedReasonMessage": null
    }
]  

<?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 {
    $disputeId = '192746554';

    $response = $api->Disputes->GetDocumentsForDispute($disputeId);

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