Funds Availability
Check
This endpoint is used to check availability of funds for a specific account.
CURL
![]()
curl -i \
-H "Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJkYXRhIjp7ImFtb3VudCI6MTAwLCJjdXJyZW5jeV9jb2RlIjoiR0JQIiwiYWNjb3VudCI6Ijg0NTcyNDg2In0sImV4cCI6MTc2MjQ3NzQ4NSwiaXNzIjoicHJpb3JhLnNhbHRlZGdlLmNvbSJ9.fSYJtzaQXy8Qu-VDDRHpDsxgDUz3RiQFJp5jvdgpg_56_wlsN3t77mP12ki7qb_zkv4i1uP7OXwDHQ8tQ6VRn4R4WN1fRam9CDHPDVpLOM6bzx1eO3bLlLBqxg6zNFK28OVyRw8FA7Bgn1Hx3_c9mTomURPNZoh6ONA1CkSp9h2lfnTBqkefpbpSAQBGdaqBukkqnlDtkgLnHR2Chwl0P6Bgdv5iEGee5D3iNrY-XlN9ipRO6wbKDkiCZj73dmJ0cdKKBJy0enfcKC5K3WPsD5TXbVUykN_hr0csiqrjjpqTR5fBFICCuMXN-gMlDSpwGNLISBEnh85hh8ZnHE6dcg" \
-H "App-Id: lL8mM9_EdRNqIkMDkRJNlg" \
-H "App-Secret: FACYQz_tXS12Zq4shniuuA" \
-H "Access-Token: a042816d06ffbb20160005d5ea1ae3d89d565158025a28b7476312fbf6754d5b69b0a699729169a28068218134878990e263f0a2cb0908c68a9abd627ba56c64" \
-H "Client-Request-Id: 13" \
-X POST "/api/v2/payments/check_funds"
Example of request parameters
![]()
{"data":{"amount":100,"currency_code":"GBP","account":"84572486"},"exp":1574093211}
Example of response
![]()
{"data":{"session_secret":"J9nZdqgqUycptyXUczBU"}}
Request
POST
/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, CertificateNotFound
|
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 Request Authorization
Response
Upon successful request, 200 status code will be returned. See ‘Related Errors’ table for other possibilities.
Related Errors
| Class | Code | Description |
|---|---|---|
| TokenMissing | 400 | This request cannot be performed without Access_Token header. |
| AuthorizationMissing | 401 | Authorization header is missing. |
| 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. |
| UnknownCurrency | 404 | Unknown Currency code |
| OauthAppNotFound | 404 | OAuth Application specified in request does not exist or cannot be retrieved. |
| CertificateNotFound | 404 | Certificate has no permissions. |
| TokenNotFound | 404 | Token specified in request does not exist or cannot be retrieved. |
×