Logo
Swift API Sandbox Collections API Documentation

[currentPosition]: It allows STEP2 Preferred Agent to inquire its current position

POST {{baseUrl}}/currentPosition/:senderBIC

The currentPosition request allows the STEP2 Preferred Agent to retrieve its current position in a selected date range

 

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

{ "currentPosition": { "amount": 621603216077694.2, "settlementBIC": "IPSDID21XXX", "timeStamp": "2019-06-21T23:20:50.000001" }, "dateTime": "2019-06-21T23:20:50.000001" }

Curl
curl -X POST 'https://sandbox.swift.com/ebacl-step2-cgs/v1/currentPosition/:senderBIC' -H 'ivUserKey: nostrud cupidatat quis sunt' -H 'ivUserBic: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","settlementBIC":"IPSDID21XXX"}'

ENDPOINTS