MoneyInValidate
How it works
This method is only used in differed/pre-authorization mode.
This method is only used in differed/pre-authorization mode.
After initiating a pre-authorized Web Payment using Initiate a Web Payment, you received a Transaction Id
Depending on the number you indicated as delayedDays, funds are blocked between 1 to 6 days maximum.
To validate the pre-authorization, you need to call Capture a Deferred Payment before 6 days. If the capture is a success, then the original transaction status switches to Success.
XML
<MoneyInValidate xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<transactionId>string</transactionId>
<amountTot>string</amountTot>
<amountCom>string</amountCom>
<specialConfig>string</specialConfig>
</MoneyInValidate>
<?xml version="1.0" encoding="utf-8"?>
<MONEYIN>
<HPAY>
<ID>string</ID>
<DATE> string </DATE>
<SEN> string </SEN>
<REC> string </REC>
<DEB> string </DEB>
<CRED> string </CRED>
<COM> string </COM>
<STATUS> string</STATUS>
</HPAY>
</MONEYIN>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"transactionId":"string",
"amountTot":"string",
"amountCom":"string",
"specialConfig":"string"
}
{
"MONEYIN":{
"HPAY":{
"ID":"string",
"DATE":" string ",
"SEN":" string ",
"REC":" string ",
"DEB":" string ",
"CRED":" string ",
"COM":" string ",
"STATUS":" string"
}
}
}
Request Input Description
Item | Description | Mandatory | Format | Example |
---|---|---|---|---|
transactionId | Money-In ID to validate | Yes | int | 8393 |
amountTot | Amount to debit from the card, if you want to capture a partial amount | No | 2 decimals | 15 |
amountCom | Your fee, if it needs to be changed too. Leave empty if you want to use the amount you sent when you initiated the payment | No | 2 decimals | 2 |
specialConfig | Leave empty | No | [0 : max] char |
Response Output Description
Item | Description | Example |
---|---|---|
ID | Request ID | 255 |
DATE | Initial Request Date | 10/9/2011 18:09 |
SEN | Empty in this case | |
REC | Beneficiary Payment account | Pizza56 |
DEB | 0.00 in this case | 0 |
CRED | Amount to credit to the payment account (total less fee) | 15 |
COM | Your fee | 2 |
STATUS | 3 | 3 |