MoneyInIDealInit : Initialisation crédit de wallet par iDeal

Version

Description

1.0


Cinématique

Cette fonctionnalité permet à la MARQUE BLANCHE d'initialiser un crédit de compte de paiement par iDeal.

Cette fonctionnalité nécessitera 3 points d'intégration par la MARQUE BLANCHE :

  • Un appel au DIRECTKIT pour initialiser les données du crédit de wallet et obtenir l'url de redirection
  • Une redirection du site web de la MARQUE BLANCHE vers l'url de redirection
  • Un appel au DIRECTKIT pour finaliser les données du crédit de compte de paiement (MoneyInIDealConfirm) au retour du client

Requête


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"
}

Element

Description

Requis

Format

Exemple

wallet

Identifiant du compte de paiement à créditer

Oui

[0 : 256] car

33612345678 ou taxi67

amountTot

Montant à débiter de la CB

Oui

2 décimales

15.00

amountCom

Montant que la MARQUE BLANCHE souhaite prélever

Non

2 décimales

1.00

issuerId

ID de la banque acceptant iDeal :

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

Oui

[0 : 10] char

121

comment

Commentaire concernant la transaction

Non

[0 :140] car

Commande numéro 245

returnUrl

Url de retour sur le site de la MARQUE BLANCHE, sur lequel sera reviendra le CLIENT à la fin de son paiement, et sur lequel sera envoyé un callback avec des données en POST.
Cette url doit contenir un identifiant unique afin que vous sachiez quelle opération est concernée par le retour

Oui

[1 : max] car

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

autoCommission

Si oui :

  • [amountCom] sera ignoré
  • La Marque Blanche ne recevra aucune commission, et Lemonway prélèvera sur [compte de paiement] sa propre commission

Oui

[1] car

0 : non (par défaut)
1 : oui

Réponse


XML

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

JSON

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

Element

Description

Exemple

ID

ID de la transaction. Vous aurez besoin de cette ID pour confirmer la transaction

589

actionUrl

URL de redirection vers la page de paiement par iDeal

https%3a%2f%2fgateway.cardgateplus.com%2fsimulator%2f%3freturn_url%3dhttp%3a%2f%2flocalhost%2ftest%2f3DS2.php%26ec%3d2647565