The Participant can inquiry interest calculation performed by the system for each day of the required month.
POST {{baseUrl}}/interestAmounts/:senderBic
The GetInterestAmount request returns the Interest Amount calculated by the System for each day of the required month. Retrieved data shall be sorted by date. A Liquidity Provider is allowed to perform inquiries on interests calculated for any of its LSP. An Owner of a Liquidity Pool is allowed to perform inquiries on interests calculated for its Branch Pool(s). The Monthly interest information (with Daily Accrual Details) will be available for the selected month only after the Interest Calculation Process has run, otherwise no data will be provided for the month requested, and the following error XA19 will be returned to the API User: “The Interest Calculation has not been calculated for the requested month”.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
ivUserKey
|
string | The subscription key of a Participant. Following the format cn=<SSO+BIC+UserId+T>,o=BIC8,o=swift. SSO is a fixed string, last character is for environment (P for production and T for test) eg SSOUNCRITMMAPI12345P, o=uncritmm,o=swift | |
ivUserBic
|
string | ||
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"dateTime": "2019-06-21T23:20:50.000001",
"bic": "IPSDID21",
"interestList": [
{
"date": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"interestRate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"snapshotTime": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"eodPosition": {
"value": "<Error: Too many levels of Curl curl -X POST 'https://sandbox.swift.com/ebacl-rt1/v1/interestAmounts/:senderBic' -H 'ivUserKey: quis fugiat aute dolore' -H 'ivUserBic: IPSDID21' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","criteria":{"bic":"IPSDID21","month":77403911,"year":63483503}}' ENDPOINTS |