[listSettlementBICs]:It allows the Participant to inquire the Settlement BICs list.
POST {{baseUrl}}/listSettlementBICs/:senderBIC
The listSettlement request allows the STEP2 Preferred Agents and STEP2 BICs configured for settlement in CGS to retrieve the CGS Settlement BIC list
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",
"settlementBICs": [
{
"endValidityDate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"initialValidityDate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"preferredAgentBIC": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"preferredS2Service": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"settlementBIC": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"status": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"endValidityDate": {
"value": "<Error: Too many levels of nesting to fake this sch Curl curl -X POST 'https://sandbox.swift.com/ebacl-step2-cgs/v1/listSettlementBICs/:senderBIC' -H 'ivUserKey: nostrud cupidatat quis sunt' -H 'ivUserBic: JTCTBUQJ' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","searchCriteria":{"settlementBIC":"IPSDID21XXX","preferredAgentBIC":"IIKMGJ65","status":"INS","initialValidityDate":"2019-06-21","endValidityDate":"2019-06-21","preferredS2Service":"B2B"}}' ENDPOINTS |