Request account withdrawal PSD2

Request account withdrawal

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 .

ParameterRequiredTypeFormatDescription
amountYesStringValue of the withdrawal in euros
userIdYesStringUser ID
paymentAccountIdYesStringPayment account id
dateNoStringDate 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.

CodeDescription
201Request completed successfully
400Syntax or domain error
403Failed to authenticate the request
404Resource not found
500System error
				
					{}

				
			

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!