Logo
Swift API Sandbox Collections API Documentation

It allows the Participant to retrieve details for a specific LCR.

POST {{baseUrl}}/lcrDetails/:senderBIC

The lcrDetails request allows STEP2 Direct Participant to retrieve details of a specific LCR for their BIC. If no record is found for the set criteria of the request, the HTTP Code 204 is returned with the Response.

 

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

{ "LCRDetails": { "amount": 10000.01, "bulkType": "pacs.003", "cgsLcrStatusUpdate": {}, "credPartyBIC": "TESTIT88", "debPartyBIC": "TESTIT88", "instructedDPBIC": "TESTIT88", "instructingDPBIC": "TESTIT88", "lcrStatus": "CNLD", "numTransactions": 1000, "origBulkMsgId": "TESTBULKREF135000000000000000000123", "origInputFile": "TESTFILEREF01234", "referenceLCR": "TESTFILEREF01234", "s2LcrCreationTimestamp": {}, "settlementDate": {}, "instgSttlmBIC": "IPSDID21XXX", "instdSttlmBIC": "IPSDID21XXX", "cgsLacInput": "22", "cgsLacOutput": "5", "dbrCrdFlag": "C" }, "dateTime": {} }



Curl
curl -X POST 'https://sandbox.swift.com/ebacl-step2-b2b/v1/lcrDetails/:senderBIC' -H 'ivUserKey: dolor exercitation' -H 'ivUserBic: TESTIT88' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","searchCriteria":{"settlementDate":"2019-06-21","referenceLCR":"TESTFILEREF01234","lac":"98","lcrStatus":"WTG"}}'

ENDPOINTS