Description and Details
This API is used to confirm the availability of funds in a given account before a payment or transfer is initiated. It allows service providers or banks to verify whether the specified account has sufficient balance for a specified amount, ensuring that the transaction can proceed without failure due to insufficient funds.
Endpoint
https://api-dev-isolution.xyz/fundconfirmation
Verb Method
POST
Headers Request Parameters
Header Key | Value | Description |
---|---|---|
Content-Type | application/json | Specifies the media type of the request body |
Accept | application/json | Expected response format |
Authorization | Bearer {token} | OAuth 2.0 token for authorization |
Body Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
accountNumber | string | Yes | The account number to check |
amount | string | Yes | The amount to verify availability for |
currency | string | Yes | Currency code (e.g., PKR, USD) |
reference | string | No | Optional reference message |
Response Parameters
Parameter | Type | Description |
---|---|---|
fundAvailable | boolean | true if sufficient funds are available |
accountBalance | string | Current available balance (optional) |
currency | string | Currency of the account |
message | string | Human-readable status message |
HTTP Codes
Code | Meaning |
---|---|
200 | OK – Fund check successful |
400 | Bad Request – Missing or invalid request body |
401 | Unauthorized – Invalid or missing token |
403 | Forbidden – Access denied |
500 | Internal Server Error |