MoneyInIDealInit: Initialize iDeal Payment

Initializes the transaction and returns the URL of the bank to which you need to redirect your customer


Version

Description

1.0


How it works

You will need 3 integration points on your code:

  • One call to DirectKit to init iDeal payment to credit the wallet
  • One redirection from your website to the return URL by IDealInit
  • One call to DirectKit to finalize the iDeal payment

Request


XML

<MoneyInIDealInit xmlns="Service_mb">
  <wlLogin>string</wlLogin>
  <wlPass>string</wlPass>
  <language>string</language>
  <version>string</version>
  <walletIp>string</walletIp>
  <walletUa>string</walletUa>
  <wallet>string</wallet>
  <amountTot>string</amountTot>
  <amountCom>string</amountCom>
  <issuerId>string</issuerId>
  <comment>string</comment>
  <returnUrl>string</returnUrl>
  <autoCommission>string</autoCommission>
</MoneyInIDealInit>

JSON

{   
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "wallet":"string",
    "amountTot":"string",
    "amountCom":"string",
    "issuerId":"string",
    "comment":"string",
    "returnUrl":"string",
    "autoCommission":"string"
}

Item

Description

Mandatory

Format

Example

wallet

Payment account ID to credit

Yes

[0 : 256] char

33612345678 ou taxi67

amountTot

Amount to debit from the card

Yes

2 decimals

15.00

amountCom

Your fee

No

2 decimals

1.00

issuerId

ID of iDEAL Issuer resource:

  • ABNANL2A for ABN Amro
  • ASNBNL21 for ASN Bank
  • BUNQNL2A for Bunk Bank
  • HANDNL2A for Handelsbanken
  • INGBNL2A for ING
  • KNABNL2H for Knab Bank
  • MOYONL21 for Moneyou
  • RABONL2U for Rabobank
  • RBRBNL21 for RegioBank
  • SNSBNL2A for SNS Bank
  • TRIONL2U for Triodos Bank
  • FVLBNL22 for Van Lanschot Bankiers

Yes

[0 : 10] char

161

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.
This url must contain a unique ID so you know which operation is related to the return.

Yes

[1 : max] char

https://www.yoursite.com/payment_return.php/?id=367GBD

autoCommission

Indicate if a fee is taken directly from the amount to pay.
If Yes: [amount] is debited from the card, and creditWallet receives [amount-Lemonway fee]
Else amountCom value is used

Yes

[1] char

0: No (by default)
1: Yes

Answer

XML

<?xml version="1.0" encoding="utf-8"?>
<IDEALINIT>
	<ID>String</ID>
	<actionUrl>String</actionUrl> 
</IDEALINIT>
 

JSON

{  
    "IDEALINIT":{  
        "ID":"String",
        "actionUrl":"String"
    }
}

Item

Description

Example

ID

ID of the transaction. You will use this value to confirm the transaction

589

actionUrl

Redirect URL for the client on the iDeal page payment

https://gateway.cardgateplus.com/simulator/?return_url=http://localhost/test/3DS2.php&ec=2647565