Transactions

 

Version: 1.0

Contents

This API Product consists of an HTTP POST method, which provides a list of transactions recorded for a particular account.
 

Security

Requires Bci Access authentication. To do this, you must follow the steps detailed in the Getting Started Guide.

 

Call Example

Once the Authorization Token is obtained, you can invoke the operation:

POST /transactions

Obtains the information of the transactions of a Bci customer account.
 

https://apiprogram.bci.cl/{api_environment}/v1/api-accounts/transactions' \ 
--header 'x-fapi-financial-id: 123456789' \ 
--header 'x-fapi-customer-last-logged-time: ' \ 
--header 'x-fapi-customer-ip-address: 10.20.30.40' \ 
--header 'x-fapi-interaction-id: ' \ 
--header 'x-jws-signature: ' \ 
--header 'Authorization: ' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{
    "AccountId": "string",
    "TotalRecords": "integer",
    "ToBookingDateTime": "2020-01-14T15:24:38.506Z",
    "FromBookingDateTime": "2020-01-14T15:24:38.506Z",
    "TransactionId": "string",
    "CustomerId": "string"
}

 

Where:

  • {api_environment}: [sandbox | prod]
  • 'x-fapi-financial-id', is the ClientId that identifies your application.
  • ‘Authorization', is the Authorization Token obtained from Bci Access.
  • "ToBookingDateTime", is the initial parameter to search by date.
  • "FromBookingDateTime", is the final parameter to search by date.
  • "TransactionId", is the transaction number to look for.
  • "CustomerId", customer identification number.

 

Sandbox Data

You can make the corresponding requests with the following information:
 

Key Value
CustomerId 11111111-1
Password 111222
AccountId 11111111
TotalRecords 6
Scope accounts