Get List of Chargebacks from a Given Date

GetChargebacks

How it works

Use GetChargebacks to retrieve the list of chargebacks recorded since a given date.

XML

<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>

JSON

{   
    "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"
            },
            ...
        ]
    }
}

Request Input Description

ItemDescriptionMandatoryFormatExample
updateDateDate in seconds (UTC)YesString1373448225

Response Output Description

ItemDescriptionExample
HPAYTransaction block
IDTransaction ID255
DATETransaction date10/9/2011 18:09
SENDebited wallet.
RECCredited wallet. Empty in this case.pizza
DEBAmount of the chargeback.0
CRED0 in this case.15
COM0 in this case.2
MSGCommentchargeback
STATUS3: chargeback recorded3
4: error
TYPEAlways equal 1 in this case (Money-Out)1
ORIGIN_IDID of the Money-In that caused the chargeback90
MTOKENThe token is given by the partner when the Money-In is created