NAV
SaltEdge PSD2 Compliance Logo

PIISP

Funds Availability

Check

CURL

curl -i  \ 
 -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJkYXRhIjp7ImFtb3VudCI6LTYuNiwiY3VycmVuY3lfY29kZSI6IkdCUCIsImFjY291bnQiOiI4NDU3MjQ4NiJ9LCJleHAiOjE1OTY5NTk0OTR9.ERb3HFIJSfRsHVFJK-GKNY-CurcpVmcvktzlDRJyMy0U5Ld3dC8xoUYmmEXdVbMpbabondlkXQfhTM5tL2xPRluEHVxUc4wF6pxIzURVnS6Hy0V3NU2nDKqx_X5NZZU9sr665MVGxpGekLS_pW5WUFZ1qDHwErzEy0T_4oxAzFBkBVTaB7EXdqiIB99a7zGQ7f8rdVBYdhyONHZ2xfuMnu70c48OGtM-K7LfxWGfzLOrT4wmAfXJAyWjUyNF0QDWZVg9rsaJyyRmSR-YDj_jTB5cu9TJqmdMG9dot-4BhJ8VlYe-kqWnJoXK7_DyoXkbNoHVv-VzZtWk-voJx6zH0A" \ 
 -H "App-Id: lL8mM9_EdRNqIkMDkRJNlg" \ 
 -H "App-Secret: FACYQz_tXS12Zq4shniuuA" \ 
 -H "Access-Token: a042816d06ffbb20160005d5ea1ae3d89d565158025a28b7476312fbf6754d5b69b0a699729169a28068218134878990e263f0a2cb0908c68a9abd627ba56c64" \ 
 -H "Client-Request-Id: 13" \ 
 -X POST "https://priora.saltedge.com/api/v2/payments/check_funds"

Example of unpacked Authorization header

{"data":{"amount":-6.6,"currency_code":"GBP","account":"84572486"},"exp":1574093211}

Example of response

{"data":{"session_secret":"J9nZdqgqUycptyXUczBU"}}

This endpoint is used to check availability of funds for a specific account.

Request

POST https://priora.saltedge.com/api/v2/payments/check_funds

Headers
Header Type Description
Authorization string, required JSON Web Token containing payload, signed using RSA256 and application.private_key. Can raise: AuthorizationMissing
App-Id string, required Application’s app_id from connection details tab. Can raise: OauthAppNotFound, ConfigurationError
App-Secret string, required Application’s app_secret from connection details tab.
Access-Token string, required Token for which we are requesting info. Can raise: TokenMissing, TokenNotFound, TokenRevoked, TokenExpired
Client-Request-Id string, optional Request identifier. If present, it will be returned within meta field in response.
Unpacked Authorization
Parameter Type Description
data hash, required Wrapper for the data.
data.account string, required Account number used to identify the account for prospective payment.
data.amount integer, required Amount to checked for availability. Values greater than: 0
data.currency_code string, required Currency code of the amount to be checked.
exp integer, required The lifetime of the request in timestamp UTC format. Values greater than: Current time.
Response
Response Type Description
data hash, required Wrapper for the data.
data.session_secret string, required Session identifier in Salt Edge PSD2 Compliance.
Related Errors
Class Code Description
AuthorizationMissing 400 Authorization header is missing.
ConfigurationError 400 Missing configurations in dashboard.
TokenMissing 400 This request cannot be performed without Access_Token header.
TokenNotFound 401 Token specified in request does not exist or cannot be retrieved.
TokenRevoked 401 Token specified in request is revoked and cannot be used anymore.
TokenExpired 401 Token specified in request is expired and cannot be used.
OauthAppNotFound 404 OAuth Application specified in request does not exist or cannot be retrieved.
Go to previous page
Go to next page