MoneyInP24 : Initialize Przelewy24 Payment
Version | Description |
---|---|
1.0 |
How it works
You will need 2 integration points on your code:
- One call to DirectKit to init Przelewy24 payment to credit the wallet
- One redirection from your website to the return URL by Przelewy24
Please refer to
Finalize Przelewy24 Transaction
Request
XML
<MoneyInP24 xmlns="Service_mb_xml">
<wlLogin>string</wlLogin>
<wlPass>string</wlPass>
<language>string</language>
<walletIp>string</walletIp>
<walletUa>string</walletUa>
<wallet>string</wallet>
<wkToken>string</wkToken>
<amounTot>string</amounTot>
<amountCom>string</amountCom>
<comment>string</comment>
<returnUrl>string</returnUrl>
</MoneyInP24>
JSON
{
"wlLogin": "string",
"wlPass": "string",
"language": "string",
"walletIp": "string",
"walletUa": "string",
"wallet": "string",
"wkToken": "string",
"amounTot": "string",
"amountCom": "string",
"comment": "string",
"returnUrl":"string"
}
Item | Description | Mandatory | Format | Example |
---|---|---|---|---|
wallet | Wallet ID to credit | Yes | [0 : 256] char | 33612345678 ou taxi67 |
wkToken | Unique ID of the call created by your server that will be used returned by Lemonway at the end of the operation, using a POST on your URL | Yes | [1 : 50] char | 5652772 |
amountTot | Amount to debit from the card | Yes | 2 decimals | 15.00 |
amountCom | Your fee | No | 2 decimals | 1.00 |
comment | Comment regarding the transaction | No | [0 :140] char | Order number 2457765AX2 |
returnUrl | Your return URL, called by iDeal to terminate the operation and on which the callback will be sent, with data in POST parameters. | Yes | [1 : max] char |
Answer
XML
<?xml version="1.0" encoding="utf-8"?>
<MoneyInP24>
<ID>string</ID>
<actionUrl>string</actionUrl>
</MoneyInP24>
JSON
{
"MoneyInP24":{
"ID":"String",
"actionUrl":"String"
}
}
Item | Description | Example |
---|---|---|
ID | ID of the transaction. You will this this value to confirm the transaction | 589 |
actionUrl | Redirect URL for the CLIENT on the Sofort page payment | https://sandbox.przelewy24.pl/trnRequest/2957E0935E-013477-15767C-51BC3DB91C |