MoneyInValidate: Capture a Deferred Payment
Version | Description |
---|---|
1.0 |
How does it work?
This method is only used in differed/pre-authorization mode.
- After initiating a pre-authorized Web Payment using MoneyInWebInit, 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 ValidateMoneyIn before 6 days. If the capture is a success, then the original transaction status switches to Success.
Available on Atos v2, Payzen, Monetico.
Request
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>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"transactionId":"string",
"amountTot":"string",
"amountCom":"string",
"specialConfig":"string"
}
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.00 |
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.00 |
specialConfig | Leave empty | No | [0 :max] char |
Answer
XML
<?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
{
"MONEYIN":{
"HPAY":{
"ID":"string",
"DATE":" string ",
"SEN":" string ",
"REC":" string ",
"DEB":" string ",
"CRED":" string ",
"COM":" string ",
"STATUS":" string"
}
}
}
Item | Description | Example |
---|---|---|
ID | Request ID | 255 |
DATE | Initial Request Date | 10/09/2011 18:09:27 |
SEN | Empty in this case | |
REC | Beneficiary Payment account | Pizza56 |
DEB | 0.00 in this case | 0.00 |
CRED | Amount to credit to the payment account (total less fee) | 15.00 |
COM | Your fee | 2.00 |
STATUS | 3 | 3 |