V1

Sign an electronic mandate

1. Send the details of the mandate request to the S-money server

To sign a mandate, please have a look ath the example in the right margin.

The urlcallback is an optional parameter.

2. Send the details of the electronic mandate created by the third-party server

The third-party server should provide the S-money server with an url, which allows the S-money server to communicate the results of the mandate validation.

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

HTTP request parametres are :

Parameter Type Description
id Long Mandate ID
error Int Error code for failed requests
0 = No error.
1 = Session failed
2 = Session interrupted
3 = Session cancelled
type Int Operation type
9 = mandate creation
status Int Mandate status
1 = Validated
2 =Dismissed
3 = Failure

3. Redirection at the end of an electronic mandate signature

The third-party server should provide the S-money server with an url allowing the S-money server to redirect the client to the third-party environment.

The url can be either associated to a web scheme (http/https) or a private scheme where the request will be made from the third-party mobile application.

These are the HTTP request parametres :

Parameter Type Description
id Long Mandate ID
type Int Operation type
9 = mandate creation
status Int Mandate status
1 = Validated
3 = Failure