MoneyInWithCardId: Credit of a payment account with a tokenized card
Version | Description |
---|---|
1.0 | |
1.1 | Output: new extra data added with card and payment information |
How it works
Use MoneyInWithCardId to ask to credit a wallet with a card linked to the wallet:
Your application sends the payment account ID to credit, the card ID, and the amount to credit, and a comment explaining the rebill
Why this card is rebilled: is it a monthly payment for a service, which service, which website, which command, with which email. Please make sure you add all information regarding the rebill on this comment field. We may ask you to add more information on this field to answer complaints directly coming to our Customer Service from your customers, or from banks, or from the police, or from Visa/Mastercard, or from the regulator.- Lemonway answers
Request
XML
<MoneyInWithCardId xmlns="Service_mb">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<version>string</version>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<wallet>string</wallet>
<cardId>string</cardId>
<amountTot>string</amount>
<amountCom>string</amountCom>
<comment>string</comment>
<autoCommission>string</autoCommission>
<isPreAuth>string</isPreAuth>
<specialConfig>string</specialConfig>
<delayedDays>string</delayedDays>
</MoneyInWithCardId>
JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"wallet":"string",
"cardId":"string",
"amountTot":"string",
"amountCom":"string",
"comment":"string",
"autoCommission":"string",
"isPreAuth":"string",
"specialConfig":"string",
"delayedDays":"string"
}
Item | Description | Mandatory | Format | Example |
---|---|---|---|---|
wallet | Payment account ID to credit | Yes | [0 : 256] char | 33612345678 ou taxi67 |
cardId | ID of the card associated with the payment account | Yes | [0 : 256] char | 243 |
amountTot | Amount to pay on the card | Yes | 2 decimals | 15.00 |
amountCom | Your fee for this payment | No | 2 decimals | 1.00 |
comment | Comment: Please explain the exact situation for this rebill: URL of the website, order number, customer number and email, name of the service. | No | [0 :140] char | PO 24577 toto@free.fr lemonway.com Monthly 03/2014 |
autoCommission | This should be set to No (0).
| Yes | [1] char | 0: No (by default) |
isPreAuth | Except for Payxpert: Indicates if the request is delayed and will require validation.
| No | [0:1] char | 0 |
delayedDays | Except for Payxpert: if isPreAuth was not set to 1, this will be ignored. | No | Between 1 and 99 | 30 |
specialConfig | Leave empty | No | [0 :max] char |
Answer
XML
<?xml version="1.0" encoding="utf-8"?>
<TRANS>
<HPAY>
<ID>string</ID>
<MLABEL>string</MLABEL>
<DATE> string </DATE>
<SEN> string </SEN>
<REC> string </REC>
<DEB> string </DEB>
<CRED> string </CRED>
<COM> string </COM>
<MSG> string </MSG>
<STATUS> string</STATUS>
<EXTRA> <!--since version 1.1 -->
<IS3DS>string</IS3DS>
<CTRY>string</CTRY>
<AUTH>string</AUTH>
</EXTRA>
</HPAY>
</TRANS>
JSON
{
"TRANS":{
"HPAY":{
"ID":"string",
"MLABEL":"string",
"DATE":" string ",
"SEN":" string ",
"REC":" string ",
"DEB":" string ",
"CRED":" string ",
"COM":" string ",
"MSG":" string ",
"STATUS":" string",
"EXTRA":{
"IS3DS":"string",
"CTRY":"string",
"AUTH":"string"
}
}
}
}
Version | Item | Description | Example |
---|---|---|---|
1.0 | ID | Request ID | 255 |
1.0 | MLABEL | Masked Card Number | XXXX XXXX XXXX 9854 |
1.0 | DATE | Request Date | 10/09/2011 18:09:27 |
1.0 | SEN | Empty in this case | |
1.0 | REC | Beneficiary payment account | Pizza56 |
1.0 | DEB | 0.00 in this case | 0.00 |
1.0 | CRED | Amount to credit to the payment account (total less fee) | 15.00 |
1.0 | COM | Your fee | 2.00 |
1.0 | MSG | Comment | Order number 2457765AX2 |
1.0 | STATUS | 3 if a successful payment | 3 |
>= 1.1 | EXTRA | Extra data | |
>= 1.1 | EXTRA.IS3DS | Indicates if the operation was 3D Secure:
| 1 |
>= 1.1 | EXTRA.CTRY | Country code of the card | FRA |
>= 1.1 | EXTRA.AUTH | Authorization number | 43245 |