openapi: 3.2.0 info: title: Additional Payment Services Document API description: The Additional Payment Services API allows users to get access to transaction, account and branch related information in real-time, providing transparency and control to the user over the transaction lifecycle. version: '' servers: - url: https://tts.apib2b.citi.com/citiconnect/prod/selfservices/v1 description: production gateway url - url: https://tts.sandbox.apib2b.citi.com/citiconnect/sb/selfservices/v1 description: sbox url security: - clientCredentials: [] tags: - name: Document paths: /document/upload: post: summary: Document Upload description: 'CitiConnect Trade Document Upload allows users to upload documents directly to initiate their trade transactions, thereby reducing manual touchpoints and accelerating onboarding. Content-Type : Supports “applicationxml” : Authorization : The OAuth Token prefixed with “Bearer” and space in between. : token : Token Number : branchCode : : fileDetail : :' parameters: - name: client_id in: query description: This is your unique identifier shared during your CitiConnect API onboarding. This is the same `client_id` used for oauth token generation required: true schema: type: string - name: Authorization in: header description: The OAuth Token prefixed with "Bearer" and space in between. required: true schema: type: string - name: Content-Type in: header description: Supports application/json. required: true schema: type: string responses: '200': description: 200 OK content: {} tags: - Document operationId: postDocumentUpload x-operation-id-source: derived components: securitySchemes: clientCredentials: type: oauth2 description: 'All CitiConnect APIs use the oAuth2 authentication scheme, which requires a bearer token to authenticate your API call. The Token URL includes the version of authentication used by this API. See the Citi Authentication API reference for information on requesting a token. ' flows: clientCredentials: tokenUrl: https://tts.sandbox.apib2b.citi.com/citiconnect/sb/authenticationservices/v1/oauth/token scopes: {} x-original-swagger-version: '2.0'