This call, optional, allows you to get the preview of the contract before signing, in Pdf.
Sandbox: https://api.sandbox.soisy.it/api/shops/{shopId}/requests/{fiscalCode}/contracts/{contractId}
Produzione: https://api.soisy.it/api/shops/{shopId}/requests/{fiscalCode}/contracts/{contractId}
The parameter{contractId} it was returned to you when you requested the certificate.
GET
This API requires authentication viashopId
and headerX-Auth-Token
.
To access this endpoint, you must have requested the terms of the customer agreement.
With this call the user accepts the contract. To validate the acceptance, you will need to send us the OTP, sent to the user via SMS at the end of the previous API call, and the explicit acceptance by the user of the clauses that we have returned to you in the previous API.
Sandbox: https://api.sandbox.soisy.it/api/shops/{shopId}/requests/{fiscalCode}/sign-contracts
Produzione: https://api.soisy.it/api/shops/{shopId}/requests/{fiscalCode}/sign-contracts
POST
This API requires authentication viashopId
and headerX-Auth-Token
.
To access this endpoint you need to have requested the certificate.
Parameter | Mandatory | Type | Format | Description |
---|---|---|---|---|
clauses | Yes | Subject | The clauses accepted by the user. See example. | |
otp | Yes | Integer | OTP code sent via SMS to the user in the previous API call. |
You will have to transmit all the clauses received in the previous call with all the conditions set totrue
.
The API returns a PDF file.
{
"otp": 12345,
"clauses": {
"termsAndConditions": true,
"privacyPolicy": true,
"sddStatement": true,
}
}
In case the user has not received the OTP as a result of the contract signing call, a new one can be requested with this API.
Sandbox: https://api.sandbox.soisy.it/api/shops/{shopId}/requests/{fiscalCode}/send-new-otp
Produzione: https://api.soisy.it/api/shops/{shopId}/requests/{fiscalCode}/send-new-otp
POST
This API requires authentication viashopId
and headerX-Auth-Token
.
To access this endpoint you must have requested a certificate signing.
The API does not return any content on success.
Code | Description |
---|---|
204 | Request completed successfully |
400 | Syntax or domain error |
403 | Failed to authenticate the request |
500 | System error |
The JSON object returned in the event of an error varies depending on the HTTP response code.
The description of the errormessaggio
it will change according to the error generated by the Certification Authority.
{
"errors": {
"domain": [
{messaggio}
]
}
}
The sent request contains invalid credentials. Check the shopId and headerX-Auth-Token
. Find more info on credentials in the authentication paragraph.
{
"errors": {
"domain": [
"The user has no access to this resource"
]
}
}
Responses with this HTTP code indicate that a system error has occurred.
{
"errors": {
"system": [
{messaggio}
]
}
}
Copyright 2023 SOISY S.p.A. - Sede Legale: Piazzale Libia, 1 - 20135 Milano
Indirizzo di posta elettronica certificata: postmaster@pec.soisy.eu - sito internet: www.soisy.it
Capitale sociale euro 391.620 i.v.
Codice Fiscale, Partita IVA e Numero di Iscrizione nel Registro delle Imprese di Milano-Monza-Brianza-Lodi: 08946260968
Istituto di Pagamento sottoposto al controllo ed alla vigilanza di Banca d’Italia e iscritto all’Albo IP ex art. 114 septies TUB: numero di iscrizione albo 78 e codice meccanografico 36060
Società appartenente al Gruppo Bancario Mediobanca iscritto all’Albo dei Gruppi Bancari
Socio unico: Compass Banca S.p.A.
Direzione e coordinamento: Mediobanca S.p.A.
Ciao!
Siamo on line dal lunedì al venerdì dalle 9.30 alle 12.30 e dalle 14.30 alle 17.30
Scrivici in questi orari, grazie!