MoneyInMobilePayInit: crédit de compte de paiment par MobilePay

Version

Description

1.0


Cinématique

Vous aurez besoin de 2 points d'intégration sur votre code :

  1. Un appel à DIRECTKIT pour initier le paiement MobilePay pour créditer le compte de paiement
  2. Une redirection de votre site web vers l'URL de retour par MobilePay

Veuillez vous reporter à la section Finaliser la transaction MobilePay.

Requête

 

XML

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

JSON

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

Item

Description

Mandatory

Format

Example

wallet

Identifiant du wallet à créditer

Oui

[0 : 256] car

33612345678 ou taxi67

wkToken

Identifiant unique de l'appel, créé par le système de la MARQUE BLANCHE, sera retourné par Lemonway à la fin de l'opération, en POST sur l'URL de retour fournie par la MARQUE BLANCHE

Oui

[1 : 50] char

5652772

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

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 [wallet] sa propre commission

Oui

[1] car

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

Réponse


XML

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

JSON

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

Item

Description

Example

ID

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

42

actionUrl

URL de redirection vers la page de paiement de MobilePay

https://quickpay.com/payment/9jt1D3SeQYZhirUAKvAgHppxPvJqLGYC1rB7XAj5svkVYeanSydHi7ZTzvMVaRAz