GetPaymentDetails: looking for payments between wallets

Version

Description

1.0


How it works

"GetPaymentDetails" returns a lit of payments (between wallets) that match the search fields.

Request

<GetPaymentDetails xmlns="Service_mb">

  <wlLogin>string</wlLogin>

  <wlPass>string</wlPass>

  <language>string</language>

  <version>string</version>

  <walletIp>string</walletIp>

  <walletUa>string</walletUa>

  <transactionId>string</transactionId>

  <transactionComment>string</transactionComment>

  <privateData>string</privateData>
  <reference>string</reference>

</GetPaymentDetails>

  
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "transactionId":"string",
    "transactionComment":"string",
    "privateData":"string",
    "reference":"string"

}

Item

Description

Mandatory

Format

Example

transactionId

Payment transaction ID

No

int

255

transactionComment

Comment

No

[0 :140] char

Order number 2457765

privateData

Data that you associated to the payment when you called SendPayment.
Ex:
A payment created with privateData = "a;b;c;d"
Will be found if you search for privateData = ";b;;d"

No

[0 : 5139] char

a;;c

transactionReferencefind by transactionreferenceNo [0 : 36] charAF33333333

WARNING You need to put at least one of these parameters.


Answer

<?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>
		<PRIVATE_DATA>string</PRIVATE_DATA>
		<SCHEDULED_DATE>string</SCHEDULED_DATE>
		<IS_FEE> string </IS_FEE>
		<FEE_REF> string </FEE_REF>
	</HPAY>
	...
	<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>
		<PRIVATE_DATA>string</PRIVATE_DATA>
		<SCHEDULED_DATE>string</SCHEDULED_DATE>
		<IS_FEE> string </IS_FEE>
		<FEE_REF> string </FEE_REF>
	</HPAY>
</TRANS> 
{  
    "TRANS":{  
        "HPAY":[  
            {  
                "ID":"string",
                "DATE":" string ",
                "SEN":" string ",
                "REC":" string ",
                "DEB":" string ",
                "CRED":" string ",
                "COM":" string ",
                "MSG":" string ",
                "STATUS":" string",
                "PRIVATE_DATA":"string",
                "SCHEDULED_DATE":"string"
                "IS_FEE:"string",
                "FEE_REF":"string"
            },
            ...
        ]
    }
}

Item

Description

Example

HPAY

Transaction


ID

Request (of a payment) ID or Payment ID

255

DATE

Request Date for a payment or Payment Date

10/09/2011 18:09:27

SEN

Debited Wallet

33612345678

REC

Beneficiary Wallet

pizza

DEB

Amount to debit

15.00

CRED

Amount to credit

15.00

COM

Commission (fee)

0.00

MSG

Comment

Order number 2457765AX2

STATUS

0: pending payment
3: payment successful and terminated
4 : error

3

PRIVATE_DATA

Data if you associated a privateData to the payment when you called SendPayment.

a;b;c;d;e;f;g;h;i;j;;;;;;;;;;

SCHEDULED_DATE

scheduledDate, if you associated one to the payment when you called SendPayment

2015/12/31

IS_FEE
returned 1 for P2P commission transaction0 / 1
FEE_REForiginal transaction id2365