REWARDS
Version: 1.0
Contents
This API Product allows Bci Clients to know how many Bci / AAdvantage pesos and Bci points they have accumulated.
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 has been obtained, you can invoke the different operations:
GET /{programID}/point_balance
Returns the balance of BCI points and BCI/AAdvantag pesos.
curl --location --request GET
'https://apiprogram.bci.cl/{api_environment}/v1/api-rewards
/
55/point_bala
nce' \
--header 'Authorization: Bearer {{TokenOAuth}}' \
--header 'x-fapi-financial-id: 3333111' \
--header 'x-fapi-customer-ip-address: 10.10.10.11' \
--header 'x-fapi-interaction-id: 1232323'
Where:
- 'x-fapi-financial-id', is the Clientid that identifies your application.
- Authorization', is the Authorization Token obtained from BCI Access.
- programID, send value "55"
Sandbox data
You can make the corresponding requests with the following information:
Key | Value |
---|---|
CustomerId |
11111111-1 |
Password |
111222 |
scope |
rewards |