Statement Initiation Request
The Statement Initiation endpoint follows a custom XML format. The response from this endpoint returns a statementId. This identifier must then be used in the retrieval request.
Note: Statement initiation requires some time to be processed to allow successful retrieval. It will depend on the statement size – best practice is to set the retrieval interval every 15 seconds until you receive a 200 successful response. It may take from 15 seconds to a few minutes before the statement is generated.
Request
- Base URLhttps://tts.apib2b.citi.com/citiconnect/prod/accountstatementservices/v1
- AuthOAuth 2Client credentialsToken URL/authenticationservices/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
This is your unique identifier shared during your CitiConnect API onboarding. This is the same client_id used for oauth token generation
Headers
Supports XML.
Time zone used to generate the statement. If not provided, the default timezone is applied. Examples include 'EST', 'EDT', 'IST'.
Specifies the preferred content encoding for the response. To enable gZip compression for the statement file, set this header value to gzip. Using compression is highly recommended for large statement files, as it can significantly reduce the download size and help prevent API failures related to gateway file size limits. If this header is sent, the API will return the statement file in a compressed format. The client application is responsible for decompressing the file.
Request body application/xml
Example request
{
"accountNumber": [
"12345"
],
"formatName": "CAMT_053_001_02",
"fromDate": "2017-04-01",
"toDate": "2017-04-03",
"strLibrayName": "APISTR",
"baiCode": "SWIFT4"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.