Check availability PSD2

Check availability

Use this endpoint to check if the indicated sum is available in the account.

				
					Sandbox: https://api.sandbox.soisy.it/api/users/{userId}/payment-accounts/{paymentAccountId}/availability
Produzione: https://api.soisy.it/api/users/{userId}/payment-accounts/{paymentAccountId}/availability
				
			
				
					GET
				
			

This API requires header authenticationX-Auth-Token .

ParameterMandatoryTypeFormatDescription
amountIntegerAmount to be checked in € cents

Below is an example of a request:

				
					    curl 'https://api.sandbox.soisy.it/api/users/{userId}/payment-accounts/{paymentAccountId}/availability?amount=20023' -H 'X-Auth-Token: {token}' -H 'Content-Type: application/json;charset=UTF-8'

				
			

The API returns a JSON object.

CodeDescription
200Request completed successfully
400Errors in the request
403Failed to authenticate the request
404Resource not found
500System error
				
					{
     "result": <booleano>,
     "message": <stringa>
}
				
			

Where is it:

truefalse
ParameterTypeDescription
resultBooleanThis value will bein case of available amount,if not.
messageStringConfirmation message on the availability of the imprint.

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!