Create a stored card paiement to multiple recipients without 3DS V2
Note :
Depending on the value of the ThreeDsecurePreference parameter, the mandatory status of 3d secure authentication changes.
For the value ThreeDsecurePreference : 4, 3d Secure authentication will not be asked.
This kind of transactions are only for server to server transactions like subscription, capture…
Headers :
POST /api/[domaine_partenaire]/payins/storedcardpayments
Accept : application/vnd.s-money.v3+json
Content-Type : application/vnd.s-money.v3+json
Authorization : Bearer ACCESS_TOKEN
Request :
{
"orderId":"orderabc",
"card":{
"appCardId":"card123"
},
"ismine":true,
"amount":9600,
"ThreeDsecurePreference":3,
"payments":[
{
"orderId":"123-1",
"id":7,
"beneficiary":{
"appaccountid":"shop_01",
},
"amount":9600,
"fee":400,
"status":0,
"Message":"commande orderID:orderabc"
}
],
"message":"orderID: orderabc",
"urlReturn":"https://www.domaine.fr/paiement-termine-iframe"
}
Response :
HTTP/1.1 201 CREATED
{
"Id":517,
"OrderId":"orderabc",
"Amount":9600,
"fee":400,
"Status":1,
"ThreeDsecurePreference":4,
"payments":[
{
"orderId":"123-1",
"id":7,
"beneficiary":{
"id":87,
"appaccountid":"shop_01",
"displayname":"Jean Dupont1",
"href":"/api/[domaine_partenaire]/accounts/shop_01"
},
"amount":9600,
"fee":400,
"status":0,
"Message":"commande orderID:orderabc"
}
],
"card":{
"appcardid":"card123",
"href":"/api/cards/card123"
},
"IsMine":false,
"operationdate":"2018-11-12T15:14:54.943324+01:00",
"Message":"commande orderID:orderabc",
"ErrorCode":0,
"ExtraResults":{
"threedsecure":null,
"threedsecureauthstatus":null,
"threedsecuresignaturestatus":null,
"threedsecureglobalstatus":null,
"ThreeDsCardEnrolled":null,
"ExecCode":"0000",
"ExecMessage":"Successful operation",
"warrantyresult":false,
"3dsecureversion":null,
"3dsecuremode":null,
"bankauthresult":null
},
"Refunds":null,
"ExtraParameters":null
}