MoneyInP24 : Initilisation crédit de wallet par Przelewy24
Cinématique
Cette fonctionnalité permet à la MARQUE BLANCHE d'initialiser un crédit de wallet par Przelewy24.
Cette fonctionnalité nécessitera 2 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 (voir )
Requête
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"
}
Element | Description | Requis | Format | Exemple |
---|---|---|---|---|
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] car | 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. | Oui | [1 : max] car |
Réponse
XML
<?xml version="1.0" encoding="utf-8"?>
<MoneyInP24>
<ID>String</ID>
<actionUrl>String</actionUrl>
</MoneyInP24>
JSON
{
"MoneyInP24":{
"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 Przelewy24 | https://sandbox.przelewy24.pl/trnRequest/2C5A3A2BFC-3E975C-3948B2-7321B67F00 |