# Pending Current Balances (ACY) This method connects to the user's specified account in and returns the account's current balance (also known as "Saldo en la cartola provisoria"). Using the field will trigger an asynchronous process and the resulting data will be sent later to the specified webhook. This is the preferred way to interact with our services, as it assures that all efforts will be made to extract the data to fulfill your request within a reasonable time frame. If you want the response immediately, skip the field but bear in mind that it can result in timeouts depending on the data's result size and the network conditions. Endpoint: POST /v1/cl/banking/entrepreneur/bci.cl/pending/current/ACY/balances Version: v1.0 Security: JWT, Api-Key ## Request fields (application/json): - `RequestData` (object, required) Information needed to connect to the user's bank account and extract data. Mandatory fields indicates values that are necessary to identify the desired account. - `RequestData.AccountNumber` (string, required) Bank account number. Example: "000011887755" - `RequestData.Currency` (string, required) Identification of the currency in which the account is held. Usage: Currency should only be used in case one and the same account number covers several currencies and the initiating party needs to identify which currency needs to be used for settlement on the account. Example: "CLP" - `RequestData.AccountCredential` (any) Attention: The use of this field is mandatory when using Api Key authentication. - `CallbackUrl` (string) URL to send the response message using a POST verb. Example: "https://my-api.my-business.com/api/open-data-response" ## Response 200 fields (application/json): - `OperationId` (string, required) Unique identifier of the operation. Example: "6baf6c19-e485-463b-ae24-a821b025c8a4" - `Status` (string, required) Operation status. means that the service was executed successfully even if it does not return Data. indicates that something happened that prevented the successful completion of the process. Enum: "OK", "ERROR" - `Data` (object,null, required) Container for Balances. Can be an empty array. - `Data.Balance` (array) Set of elements used to define the balance details. - `Data.Balance.AccountId` (string, required) A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner. Example: "873458" - `Data.Balance.CreditDebitIndicator` (string, required) Indicates whether the transaction is a credit or a debit entry. Enum: "Credit", "Debit" - `Data.Balance.DateTime` (string, required) Indicates the date (and time) of the balance. Example: "2017-07-21T17:32:28-0400" - `Data.Balance.Type` (string, required) Balance type, in a coded form. Enum: "ClosingAvailable", "ClosingBooked", "ClosingCleared", "Expected", "ForwardAvailable", "Information", "InterimAvailable", "InterimBooked", "InterimCleared", "OpeningAvailable", "OpeningBooked", "OpeningCleared", "PreviouslyClosedBooked", "Withheld" - `Data.Balance.Amount` (array, required) Amount of money of the cash balance. - `Data.Balance.Amount.Amount` (number, required) A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217. Example: 10000 - `Data.Balance.Amount.Currency` (string, required) A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 "Codes for the representation of currencies and funds". Example: "CLP" - `Data.Balance.CreditLine` (object) Set of elements used to provide details on the credit line. - `Data.Balance.CreditLine.Included` (boolean, required) Indicates whether or not the credit line is included in the balance of the account. Usage: If not present, credit line is not included in the balance amount of the account. Example: true - `Data.Balance.CreditLine.Type` (string) Limit type, in a coded form. Enum: "Available", "Credit", "Emergency", "Pre-Agreed", "Temporary" - `Data.Balance.CreditLine.Amount` (object) Amount of money of the credit line. - `AdditionalInformation` (string,null, required) This field can be used to display relevant information specific to the response, for instance indicating that the field is incomplete. - `Error` (object,null, required) Object with the error details, used when . If this field will be null. You can read a complete explanation of this object visiting [this link](https://docs.khipu.com/portal/en/errors/) - `Error.Code` (string) Internal system code that identifies the error. Example: "E201" - `Error.Type` (string) Indicates how to treat this specific error code, based on the type of error. Enum: "RETRY_IMMEDIATELY", "DO_NOT_RETRY", "WAIT_4_HOURS_BEFORE_RETRY", "RETRY_AFTER_NOTIFICATION" - `Error.Description` (string) Description associated with the error code. Example: "El servicio destino utilizado para la extracción de datos no se encuentra disponible." - `LifeSpan` (string,null, required) in sync requests. ## Response 202 fields (application/json): - `OperationId` (string, required) Unique identifier of the operation. Example: "6baf6c19-e485-463b-ae24-a821b025c8a4" - `Status` (string, required) Operation status. When making async requests it will always return . Example: "OK" - `Data` (object, required) in async requests. - `AdditionalInformation` (string, required) Operation message, can be used to display additional information. Example: "Data will be sent to the callback URL." - `Error` (object, required) in async requests. - `LifeSpan` (string, required) Max estimated delivery date for async requests, in ISO 8601 date format, UTC timezone. Example: "2017-07-22T00:00:00-0400"