Use GetChargebacks to retrieve the list of chargebacks recorded since a given date.
<GetChargebacks xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<updateDate>string</updateDate>
</GetChargebacks>
<?xml version="1.0" encoding="utf-8"?>
<TRANS>
<HPAY>
<ID>string</ID>
<DATE> string </DATE>
<SEN> string </SEN>
<REC> string </REC>
<DEB> string </DEB>
<CRED> string </CRED>
<COM> string </COM>
<MSG> string </MSG>
<STATUS> string</STATUS>
<TYPE>string</TYPE>
<MTOKEN>string</MTOKEN>
</HPAY>
...
</TRANS>
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"updateDate":"string"
}
{
"TRANS":{
"HPAY":[
{
"ID":"string",
"DATE":" string ",
"SEN":" string ",
"REC":" string ",
"DEB":" string ",
"CRED":" string ",
"COM":" string ",
"MSG":" string ",
"STATUS":" string",
"TYPE":"string",
"MTOKEN":"string"
},
...
]
}
}
| Item | Description | Mandatory | Format | Example |
|---|
| updateDate | Date in seconds (UTC) | Yes | String | 1373448225 |
| | |
|---|
| Item | Description | Example |
| HPAY | Transaction block | |
| ID | Transaction ID | 255 |
| DATE | Transaction date | 10/9/2011 18:09 |
| SEN | Debited wallet. | |
| REC | Credited wallet. Empty in this case. | pizza |
| DEB | Amount of the chargeback. | 0 |
| CRED | 0 in this case. | 15 |
| COM | 0 in this case. | 2 |
| MSG | Comment | chargeback |
| STATUS | 3: chargeback recorded | 3 |
| 4: error | |
| TYPE | Always equal 1 in this case (Money-Out) | 1 |
| ORIGIN_ID | ID of the Money-In that caused the chargeback | 90 |
| MTOKEN | The token is given by the partner when the Money-In is created | |