V1

Create an e-Chèque-Vacances payment

1. Send the data of the card payment request to the S-money server

Please have a look at the example in the right margin.

2. Send the data of the completed payment to the third-party server
The S-money server needs to be provided by the third-party server with a url server, in order to communicate the result of the payment execution.

The HTTP POST method is used to invoke the S-money server.

The parameters of the HTTP request are :

Parameter Type Description
id string Operation OrderId
type Int Operation type
1 = card payment
status Int Operation status
- 1 = unknown
0 = waiting
1 = completed
2 = refunded
3 = refused
4 = waiting for validation
5 = Cancelled
6 = waiting to be sent
userid String User identifier in the third-party application
payments String JSON presenting the details of payments

The parameters of the information for payments are :

Parameter Type Description
sequencenumber Int Sequence number of the multiple payment
amount Long Amount of the failed payment
status Int Operation status
-1 = unknown
0 = waiting
1 = completed
2 = refunded
3 = refused
4 = waiting for validation
5 = Cancelled
6 = waiting to be sent