GetChargebacks: Get List of Chargebacks from a Given Date

Version

Description

1.7


1.8

Output: partner token

How it works

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

Request


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>

JSON

{   
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "updateDate":"string"
}

Item

Description

Mandatory

Format

Example

updateDate

Date insecond UTC

Yes

String

1373448225

Answer

  

XML

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

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

Example

HPAY

Transaction block


ID

Transaction ID

255

DATE

Transaction date

10/09/2011 18:09:27

SEN

Debited wallet.


REC

Credited wallet. Empty in this case.

pizza

DEB

Amount of the chargeback.

0.00

CRED

0 in this case.

15.00

COM

0 in this case.

2.00

MSG

Comment

chargeback

STATUS

3 : chargeback recorded
4 : error

3

TYPE

Always equal 1 in this case (money-out)

1

ORIGIN_ID

ID of the money-in that caused the chargeback

90

MTOKEN

Token is given by the partner when the money-in was created