Create a stored card paiement with 3DS V1
Differences with Systempay
This query is the same as the one documented here : Systempay - Stored card payment (one-click)
Except new fields UrlReturn and Require3Ds that enable 3DS payment authentication. These fields are optional.
Request
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
{
"orderId":"123",
"accountId":{
"appaccountid":"123"
},
"card":{
"appCardId":"card123"
},
"ismine":true,
"amount":1020,
"urlReturn":"https://http.cat",
"require3ds":true,
}
Response
{
"ExtraData":"{\"IsSchedule\":false,\"IsCardRegistration\":false,\"Profile\":\"hostedfields\",\"AppIdentifier\":\"test\",\"UrlReturn\":\"https://http.cat\"}",
"Require3Ds":true,
"UrlReturn":"https://http.cat",
"ExtraResults":null,
"Message":null,
"Id":2643,
"OrderId":"123",
"AccountId":{
"Id":1048,
"AppAccountId":"EA2",
"DisplayName":"user-abc user-abc",
"Email":null,
"PhoneNumber":null,
"Alias":null,
"Href":"http://rest.s-money.net/api/b2b/users/EA2"
},
"Card":{
"Id":1134,
"AppCardId":"fzefz",
"Href":"http://rest.s-money.net/api/b2b/cards/fzefz"
},
"Amount":1020,
"Fee":null,
"OperationDate":"2019-06-05T11:34:42.1942292+02:00",
"IsMine":true,
"Status":0,
"Payments":null,
"Refunds":null,
"AuthorizationAmount":null,
}