Use this endpoint to request a withdrawal from your account.
Sandbox: https://api.sandbox.soisy.it/api/users/{userId}/payment-accounts/{paymentAccountId}/withdraws
Produzione: https://api.soisy.it/api/users/{userId}/payment-accounts/{paymentAccountId}/withdraws
POST
This API requires header authenticationX-Auth-Token
.
Parameter | Required | Type | Format | Description |
---|---|---|---|---|
amount | Yes | String | Value of the withdrawal in euros | |
userId | Yes | String | User ID | |
paymentAccountId | Yes | String | Payment account id | |
date | No | String | Date of request (if omitted, the current date is used |
Below is an example of a request:
curl 'https://api.sandbox.soisy.it/api/users/{userId}/payment-accounts/{paymentAccountId}/withdraws' -H 'X-Auth-Token: {token}' -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"amount":"10","date":"2019-03-12","paymentAccountId":"{paymentAccountId}","userId":"{userId}"}'
The API returns a JSON object.
Code | Description |
---|---|
201 | Request completed successfully |
400 | Syntax or domain error |
403 | Failed to authenticate the request |
404 | Resource not found |
500 | System error |
{}
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!