Path parameters
The unique identifier of the dispute.
Responses
200
200
The list of dispute documents created by the platform.
Show properties
Show properties
The dispute document created by the platform.
Show properties
Show properties
The unique identifier of the dispute.
Returned values:
DELIVERY_PROOF
, INVOICE
, REFUND_PROOF
, USER_CORRESPONDANCE
, USER_ACCEPTANCE_PROOF
, PRODUCT_REPLACEMENT_PROOF
, OTHER
The type of the dispute document.Max length: 128 characters (see data formats for details)The unique identifier of the object.
Max. length: 255 charactersCustom data that you can add to this object.
The date and time at which the object was created.
The date and time at which the document was processed by Mangopay’s team.
Returned values:
CREATED
, VALIDATION_ASKED
, VALIDATED
, REFUSED
, OUT_OF_DATE
The status of the dispute document.Returned values: DOCUMENT_DO_NOT_MATCH_USER_DATA, DOCUMENT_FALSIFIED, DOCUMENT_HAS_EXPIRED, DOCUMENT_INCOMPLETE, DOCUMENT_MISSING, DOCUMENT_NOT_ACCEPTED, DOCUMENT_UNREADABLE, SPECIFIC_CASE, UNDERAGE_PERSONThe reason for the dispute document refusal. See the RefusedReasonMessage for more information.
Max. length: 255 charactersDefault value: nullAdditional information about why the KYC Document was refused, provided by Mangopay’s team.
Copy
Ask AI
[
{
"DisputeId": "159102965",
"Type": "DELIVERY_PROOF",
"Id": "159188418",
"Tag": null,
"CreationDate": 1672655973,
"ProcessedDate": null,
"Status": "VALIDATION_ASKED",
"RefusedReasonType": null,
"RefusedReasonMessage": null
}
]
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 {
$disputeId = '192746554';
$response = $api->Disputes->GetDocumentsForDispute($disputeId);
print_r($response);
} catch(MGPResponseException $e) {
print_r($e);
} catch(MGPException $e) {
print_r($e);
}