post
https://api.lemonway.fr/mb/ENV-NAME/directkitrest/v2/accounts//documents//signinit
When the mandate requires an electronic signature, the flow is as follows:
- Register the mandate via
POST /v2/moneyins/sdd/mandate— returns adocumentIdand mandate in Pending status (0) - Call Generate an Electronic Signature of a Document (
POST /v2/accounts/{accountid}/documents/{documentid}/signinit) — returns asignDocumenttoken - Redirect the end user to the Lemonway WebKit with the token as a GET parameter:
- Sandbox:
https://sandbox-webkit.lemonway.fr/{env}/dev/?signingtoken={signDocument} - Production:
https://webkit.lemonway.fr/{env}/prod/?signingtoken={signDocument}
- Sandbox:
- The debtor receives an OTP SMS, signs the mandate in the WebKit
- The end user is redirected to
returnUrl(success) orerrorUrl(failure) - The mandate status transitions to Active (
6)
401Unauthorized
500InternalServerError

