<?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 = '159763014';
$response = $api->Disputes->GetTransactions($disputeId);
print_r($response);
} catch(MGPResponseException $e) {
print_r($e);
} catch(MGPException $e) {
print_r($e);
}
[
{
"Id": "repud_m_01HYZCXBG91VY24FYXXSBT2C31",
"Tag": null,
"CreationDate": 1716893167,
"AuthorId": "user_m_01HYZC2PNRVW5NDTNG6KHXE31Z",
"CreditedUserId": null,
"DebitedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"Fees": {
"Currency": "EUR",
"Amount": 0
},
"Status": "SUCCEEDED",
"ResultCode": "000000",
"ResultMessage": "Success",
"ExecutionDate": 1716893167,
"Type": "PAYOUT",
"Nature": "REPUDIATION",
"CreditedWalletId": null,
"DebitedWalletId": "CREDIT_EUR",
"DepositId": null
},
{
"Id": "refund_m_01HYZD0XV5NDG5196BNG1NZRFV",
"Tag": null,
"CreationDate": 1716893284,
"AuthorId": "user_m_01HYZC2PNRVW5NDTNG6KHXE31Z",
"CreditedUserId": "150427320",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"Fees": {
"Currency": "EUR",
"Amount": 0
},
"Status": "SUCCEEDED",
"ResultCode": "000000",
"ResultMessage": "Success",
"ExecutionDate": 1716893284,
"Type": "PAYIN",
"Nature": "REFUND",
"CreditedWalletId": "CREDIT_EUR",
"DebitedWalletId": null,
"DepositId": 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 = '159763014';
$response = $api->Disputes->GetTransactions($disputeId);
print_r($response);
} catch(MGPResponseException $e) {
print_r($e);
} catch(MGPException $e) {
print_r($e);
}
[
{
"Id": "repud_m_01HYZCXBG91VY24FYXXSBT2C31",
"Tag": null,
"CreationDate": 1716893167,
"AuthorId": "user_m_01HYZC2PNRVW5NDTNG6KHXE31Z",
"CreditedUserId": null,
"DebitedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"Fees": {
"Currency": "EUR",
"Amount": 0
},
"Status": "SUCCEEDED",
"ResultCode": "000000",
"ResultMessage": "Success",
"ExecutionDate": 1716893167,
"Type": "PAYOUT",
"Nature": "REPUDIATION",
"CreditedWalletId": null,
"DebitedWalletId": "CREDIT_EUR",
"DepositId": null
},
{
"Id": "refund_m_01HYZD0XV5NDG5196BNG1NZRFV",
"Tag": null,
"CreationDate": 1716893284,
"AuthorId": "user_m_01HYZC2PNRVW5NDTNG6KHXE31Z",
"CreditedUserId": "150427320",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"Fees": {
"Currency": "EUR",
"Amount": 0
},
"Status": "SUCCEEDED",
"ResultCode": "000000",
"ResultMessage": "Success",
"ExecutionDate": 1716893284,
"Type": "PAYIN",
"Nature": "REFUND",
"CreditedWalletId": "CREDIT_EUR",
"DebitedWalletId": null,
"DepositId": null
}
]
CREATED, SUCCEEDED, FAILEDThe status of the transaction. You can filter on multiple values by separating them with a comma.CreationDate parameter). You can filter on a specific time range by using both the AfterDate and BeforeDate query parameters.CreationDate parameter). You can filter on a specific time range by using both the AfterDate and BeforeDate query parameters.PAYIN, TRANSFER, CONVERSION, PAYOUTThe type of the transaction. You can filter on multiple values by separating them with a comma.REGULAR, REPUDIATION, REFUND, SETTLEMENTThe nature of the transaction, providing more information about the context in which the transaction occurred. You can filter on multiple values by separating them with a comma.200
Show properties
Show properties
Show properties
1260 whereas JPY 12 would be represented as just 12).During a conversion, (DebitedFunds.Amount - Fees) * MarketRate = CreditedFunds.Amount. CreditedFunds = DebitedFunds - Fees).Show properties
1260 whereas JPY 12 would be represented as just 12).Show properties
1260 whereas JPY 12 would be represented as just 12).CREATED, SUCCEEDED, FAILEDThe status of the transaction.SUCCEEDED, indicating that the transaction occurred. The statuses CREATED and FAILED return an ExecutionDate of null.REGULAR, REPUDIATION, REFUND, SETTLEMENTThe nature of the transaction, providing more information about the context in which the transaction occurred:REGULAR – Relative to most of the transactions (pay-ins, payouts, and transfers) in a usual workflow.REPUDIATION – Automatic withdrawal of funds from the platform’s repudiation wallet as part of the dispute process (when the user has requested a chargeback).REFUND – Reimbursement of a transaction to the user (pay-in refund), to a wallet (transfer refund), or of a payout (payout refund, only initiated by Mangopay).SETTLEMENT – Transfer made to the repudiation wallet by the platform to settle a lost dispute.[
{
"Id": "repud_m_01HYZCXBG91VY24FYXXSBT2C31",
"Tag": null,
"CreationDate": 1716893167,
"AuthorId": "user_m_01HYZC2PNRVW5NDTNG6KHXE31Z",
"CreditedUserId": null,
"DebitedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"Fees": {
"Currency": "EUR",
"Amount": 0
},
"Status": "SUCCEEDED",
"ResultCode": "000000",
"ResultMessage": "Success",
"ExecutionDate": 1716893167,
"Type": "PAYOUT",
"Nature": "REPUDIATION",
"CreditedWalletId": null,
"DebitedWalletId": "CREDIT_EUR",
"DepositId": null
},
{
"Id": "refund_m_01HYZD0XV5NDG5196BNG1NZRFV",
"Tag": null,
"CreationDate": 1716893284,
"AuthorId": "user_m_01HYZC2PNRVW5NDTNG6KHXE31Z",
"CreditedUserId": "150427320",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 10000
},
"Fees": {
"Currency": "EUR",
"Amount": 0
},
"Status": "SUCCEEDED",
"ResultCode": "000000",
"ResultMessage": "Success",
"ExecutionDate": 1716893284,
"Type": "PAYIN",
"Nature": "REFUND",
"CreditedWalletId": "CREDIT_EUR",
"DebitedWalletId": null,
"DepositId": 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 = '159763014';
$response = $api->Disputes->GetTransactions($disputeId);
print_r($response);
} catch(MGPResponseException $e) {
print_r($e);
} catch(MGPException $e) {
print_r($e);
}
Was this page helpful?