Create a stored card paiement to multiple recipients with 3DS V1
Depending on the value of the ThreeDsecurePreference parameter, the mandatory status of 3d secure authentication changes. For the value ThreeDsecurePreference : 3, 3d Secure authentication will not be asked.
This kind of transactions are only for server to server transactions like subscription, capture…
Headers :
POST /api/[partner_domain]/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,
"Require3ds":true,
"payments":[
{
"orderId":"123-1",
"beneficiary":{
"appaccountid":"shop_01",
},
"amount":9600,
"fee":400,
"Message":"commande orderID:orderabc"
}
],
"message":"orderID: orderabc",
"urlReturn":"https://www.domaine.fr/paiement-termine-iframe"
}
Response :
{
"ExtraData":"{\"IsSchedule\":false,\"IsCardRegistration\":false,\"Profile\":\"hostedfields\",\"AppIdentifier\":\"test\",\"UrlReturn\":\"https://http.cat\"}",
"Require3Ds":true,
"Id":517,
"OrderId":"orderabc",
"Amount":9600,
"fee":400,
"Status":1,
"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":1,
"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":null,
"Refunds":null,
"ExtraParameters":null
}