swagger: '2.0' info: description: >- CitiConnect Request To Pay provides access to multiple request-to-pay functionalities to trigger payments or access details related to user accounts. version: '' title: Request To Pay servers: - url: https://tts.apib2b.citi.com/citiconnect/prod/requesttopayservice/v1 description: production gateway URL - url: https://tts.apib2b.citi.com/citiconnect/sb/requesttopayservice/v1 description: ' sandbox gateway URL' tags: [] schemes: - https security: - clientCredentials: [] paths: /collection/inquiry: get: summary: Collection/Inquiry description: >- CitiConnect Request To Pay: Collection Inquiry allows users to retrieve the requested status of a collection by submitting input field values such as Service Reference Number, Message Creation Date and Time, End to End ID, Instructed Amount and Currency.
Content-Type : Supports “application/xml” or “application/json” :
Authorization : The OAuth Token prefixed with “Bearer” and space in between. :
MsgId : Service Reference No. :
MsgCreDtTm : The date and time at which the message was created. :
EndToEndId : EndToEndId or the mt100refNo :
InstdAmt : Instructed Amount. Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party. :
InstdAmtCCY : Currency related to the payment :
parameters: [] responses: '200': description: 200 OK security: - clientCredentials: - /authenticationservices/v1 /collection/responseinitiation: post: summary: Response Collection description: >- CitiConnect Request To Pay: Response Collection allows users to create successful collection requests. Users can obtain intermediate status updates through CitiConnect® Request to Pay: Collection Inquiry for the latest status of the transaction.
Content-Type : Supports “application/xml” :
payloadType : Support “urn:iso:std:iso:20022:tech:xsd:pain.014.001.07” :
Authorization : The OAuth Token prefixed with “Bearer” and space in between. :
paymentBase64 : ISOXML V7 (pain.014.001.07) file has to be converted to Base64 format and passed in tag. :
request : The request follows ISOXML V7 (pain.014.001.07) standards. :
parameters: [] responses: '200': description: 200 OK security: - clientCredentials: [] /collection/requestinitiation: post: summary: Collection Request description: >- CitiConnect Request To Pay: Collection Request allows users to create successful collection requests. Users can obtain the intermediate status updates through CitiConnect® Collection Inquiry.
Content-Type : Supports “application/xml” or “application/json” :
payloadType : Support “urn:iso:std:iso:20022:tech:xsd:pain.013.001.07” :
Authorization : The OAuth Token prefixed with “Bearer” and space in between. :
paymentBase64 : ISOXML V7 (pain.013.001.07) file has to be converted to Base64 format and passed in tag. :
request : The request follows ISOXML (pain.013.001.07) standards. :
parameters: [] responses: '200': description: 200 OK security: - clientCredentials: [] /validate/address: post: summary: Address Validation description: >- CitiConnect Request To Pay: Address Validation allows users to initiate a request to validate the VPA ID before initiating the collection or payment request.
Content-Type : Supports “application/xml” :
Authorization : The OAuth Token prefixed with “Bearer” and space in between. :
Transaction Reference Number : Unique Txn Ref No by Citi Customer/Merchant :
ClientId : Client Id of the Merchant/Citi Customer :
SecretKey : Secret Key sent by Citi customer/merchant :
TxnRefNo : Unique Txn Ref No by Citi Customer/Merchant
Same as that mapped in the Http Header section :
TimeStamp : Message time and date when the request is generated
Format : YYYY-MM-DD'T'HH:MM:SS'+or-'ZZ:ZZ
ZZ:ZZ = UTC Time Offset) sent by Citi Customer/Merchant :
CountryCode : Country code for API(ISO Code) :
PayeeVPA : Payee Virtual Handler - Payee Virtual Address (VPA that needs to be validated) :
PayeeName : Payee Name (Name, if available, of the VPA that needs to be validated. :
Merchant Virtual Handler : Citi Customer Virtual Address :
consumes: - application/json produces: - application/json parameters: - in: body name: body required: true schema: null type: object - name: Content-Type in: header description: Content type of request required: false type: string - name: Authorization in: header description: The OAuth Token prefixed with "Bearer" and space in between. required: true type: string - name: ClientId in: header description: APIM client ID required: false type: string - name: TxnRefNo in: header description: Transaction reference number required: false type: string - name: CountryCode in: header description: Country code required: false type: string responses: '200': description: 200 OK /transaction/inquiry: post: summary: Transaction/Inquiry description: >- CitiConnect Request To Pay: Transaction Inquiry allows users to retrieve the latest status of a transaction by submitting one or all of the following parameters: Client Id, Transaction Reference number.
Content-Type : Supports “application/json” :
Authorization : The OAuth Token prefixed with “Bearer” and space in between. :
ClientId : Client Id of the Merchant/Citi Customer :
SecretKey : Secret Key Sent by Merchant/Citi Customer :
TxnRefNo : Unique Txn Ref No by Citi Customer/Merchant :
TimeStamp : Message time and date(YYYY-MM-DD'T'HH:MM:SS'+or-'ZZ:ZZ
ZZ:ZZ = UTC Time Offset) sent by Citi Customer/Merchant :
CountryCode : Country code for API :
Merchant Ref No : Merchant Reference No for Txn Status Check :
Bank Ref No. : Bank Reference No for Txn Status Check :
parameters: - in: body name: body description: Request payload required: false schema: type: object - name: Authorization in: header description: The OAuth Token prefixed with "Bearer" and space in between. required: true type: string - name: ClientId in: header description: Client identity required: false type: string - name: TxnRefNo in: header description: Transaction reference number required: false type: string - name: CountryCode in: header description: Country code required: false type: string - name: Content-Type in: header description: Request content type required: false type: string responses: '200': description: 200 OK /collection/initiation: post: summary: Collection/Initiation description: >- CitiConnect Request To Pay Collection Initiation allows users to create successful collection initiation requests to payee accounts. Users can obtain the intermediate status through CitiConnect® Request To Pay: Transaction Inquiry for real-time status updates for the transaction.
Content-Type : Supports “application/json” :
Authorization : The OAuth Token prefixed with “Bearer” and space in between. :
ClientId : Client Id of the Merchant/Citi Customer :
SecretKey : Secret Key Sent by Merchant/Citi Customer :
TxnRefNo : Unique Txn Ref No by Citi Customer/Merchant
(unique in last 7 days for respective Client ID) :
TimeStamp : Message time and date(YYYY-MM-DD'T'HH:MM:SS'+or-'ZZ:ZZ
ZZ:ZZ = UTC Time Offset) sent by Citi Customer/Merchant
(Part of APIheader tag) :
CountryCode : Country code for API :
OrderNo : Order No. sent by Citi Customer :
ExpValue : Expiry value in minutes sent by Citi Customer
Value should be >=2 and <=10080 (This has to be configurable) :
PayeeVPA : Citi Customer Virtual Address
(Must Contain '@citi') :
PayeeAcNo : Citi Customer Account Number :
PayerVPA : Payer/Buyer Virtual Address :
Amount : Transaction Amount
Value should be >= 0 and <=1,00,000 (This has to be configurable) :
Currency : Transaction Currency
(Should be INR) :
ValueDate : Value date sent by Citi Customer (YYYY-MM-DD) :
Remarks : Order summary description :
parameters: - in: body name: body description: Request payload required: false schema: type: object - name: Content-Type in: header description: application/json required: false type: string - name: Authorization in: header description: The OAuth Token prefixed with "Bearer" and space in between. required: true type: string - name: ClientId in: header description: Client identity required: false type: string - name: TxnRefNo in: header description: Transaction reference number required: false type: string - name: CountryCode in: header description: Country code required: false type: string responses: '200': description: 200 OK securityDefinitions: clientCredentials: 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. type: oauth2 tokenUrl: >- https://tts.apib2b.citi.com/citiconnect/prod/requesttopayservice/v1/validate/address/authenticationservices/v1/oauth/token flow: application scopes: null definitions: {}