Paths
/v1/servicing/investments/funds/transactions/sell
LOB: Wealth Management; Feature: Investment Funds; Functionality: Sell
This API is used to execute the investment fund sell transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/servicing/investments/funds/transactions/buy
LOB: Wealth Management; Feature:Investment Funds; Functionality: Buy
This API is used to execute investment fund buy transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/servicing/investments/funds/transactions/sell/simulate
LOB: Wealth Management; Feature: Fund Investment; Functionality: Simulate Sell
This API will simulate the sell transaction over funds in order to show the result before a real transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/servicing/investments/funds/transactions/buy/simulate
LOB: Wealth Management; Feature: Investment Funds; Functionality: Simulate Buy
This API will simulate the buy transaction over funds in order to show the result before a real transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v2/servicing/investments/funds/transactions/sell
LOB: Wealth Management; Feature: Investment Funds; Functionality: Sell
This API is used to execute the investment fund sell transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v2/servicing/investments/funds/transactions/buy
LOB: Wealth Management; Feature:Investment Funds; Functionality: Buy
This API is used to execute investment fund buy transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v2/servicing/investments/funds/transactions/sell/simulate
LOB: Wealth Management; Feature: Fund Investment; Functionality: Simulate Sell
This API will simulate the sell transaction over funds in order to show the result before a real transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v2/servicing/investments/funds/transactions/buy/simulate
LOB: Wealth Management; Feature: Investment Funds; Functionality: Simulate Buy
This API will simulate the buy transaction over funds in order to show the result before a real transaction.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
Country code in 2 character ISO 3166 format
Business code identified during application registration
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Definitions
{
"type": "object",
"properties": {
"accountId": {
"description": "Account Id will be an ID used to represent an account number uniquely",
"type": "string",
"maxLength": 36,
"example": "012903929107"
}
},
"required": [
"accountId"
]
}
{
"type": "object",
"properties": {
"accountId": {
"description": "AccountId will be an ID used to represent an account number uniquely",
"type": "string",
"maxLength": 36,
"example": "701209963887"
}
},
"required": [
"accountId"
]
}
{
"type": "object",
"properties": {
"accountId": {
"description": "Account Id will be an ID used to represent an account number uniquely",
"type": "string",
"maxLength": 36,
"example": "012903929107"
}
},
"required": [
"accountId"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentTransaction"
},
"security": {
"$ref": "#/definitions/Security"
}
},
"required": [
"investmentTransaction",
"security"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/Account"
},
"destinationAccount": {
"$ref": "#/definitions/Account"
},
"transaction": {
"$ref": "#/definitions/TransactionData"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund issuer",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"securityInfo": {
"$ref": "#/definitions/SecurityInfo"
}
},
"required": [
"sourceAccount",
"destinationAccount",
"transaction",
"fundIssuer",
"fundCode",
"securityInfo"
]
}
{
"type": "object",
"properties": {
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"encryptedTransactionDetail": {
"description": "Encrypt the transaction information. This is an example of the object to encrypt: {\"transactionAmount\":2500.55,\"unitCount\":120}. Both REQUIRED.",
"type": "string",
"example": "%$YU(&$&%/%&8678&/g5667m67uv5gfhfgjhhg"
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
}
},
"required": [
"settlementCode",
"encryptedTransactionDetail",
"settlementDate"
]
}
{
"type": "object",
"properties": {
"settlementCode": {
"description": "Transaction settlement code. Possibles Values H, SP, CA, 24, 48, 72",
"type": "string",
"example": "CA",
"maxLength": 3,
"pattern": "^[a-zA-Z0-9]*$"
},
"encryptedTransactionInfo": {
"description": "Encrypt the transaction information. This is an example of the object to encrypt: {\"transactionAmount\":2500.55,\"unitCount\":120,\"unitPriceAmount\":2500.55}..All of them are REQUIRED.",
"type": "string",
"example": "%$YU(&$&%/%&8678&/g5667m67uv5gfhfgjhhg"
},
"settlementDate": {
"description": "Transaction settlement date",
"type": "string",
"format": "date",
"example": "2019-07-14"
}
},
"required": [
"settlementCode",
"encryptedTransactionInfo",
"settlementDate"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountInformation"
},
"destinationAccount": {
"$ref": "#/definitions/AccountInformation"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund issuer",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
}
},
"required": [
"sourceAccount",
"destinationAccount",
"fundIssuer",
"fundCode",
"settlementCode",
"transactionAmount",
"unitCount",
"settlementDate"
]
}
{
"type": "object",
"properties": {
"challengeQuestion": {
"type": "string",
"example": "37459812",
"description": "Challenge previously received (must be same as the given from get challenge service), composed by 8 digit numbers."
},
"oneTimePasswordToken": {
"type": "string",
"example": "17364892",
"description": "Challenge token generated by the hardToken or softToken assigned to the client."
},
"transmitToken": {
"type": "string",
"example": "17364892",
"description": "Transmit Token Generated"
},
"grantType": {
"type": "string",
"example": "2",
"description": "Grant Type"
},
"rsaVersion": {
"description": "Version of the RSA that generates the data in the client (Browsers or Mobile Apps)",
"type": "string",
"example": "3.4.1.1"
},
"browser": {
"$ref": "#/definitions/BrowserDetails"
},
"mobile": {
"$ref": "#/definitions/MobileDetails"
}
},
"required": [
"rsaVersion"
]
}
{
"type": "object",
"properties": {
"sessionBrowserUserAgent": {
"description": "Web browser identifier",
"type": "string",
"example": "mozilla/5.0+(macintosh;+intel+mac+os+x+10_14_3)"
},
"screenResolution": {
"description": "Resolution of the client's screen where the browser is running",
"type": "string",
"example": "24|1440|900|830"
},
"browserTimezone": {
"description": "Time zone configured in the browser",
"type": "integer",
"format": "int32",
"example": 6
},
"javaVersion": {
"description": "Java version loaded in the browser",
"type": "integer",
"format": "int32",
"example": 1
},
"browserLanguage": {
"description": "Browser language",
"type": "string",
"example": "lang=es-XL|syslang=|userlang="
},
"cookieEnabledIndicator": {
"description": "It indicates if cookies are enabled 0-disabled, 1-enabled",
"type": "integer",
"format": "int32",
"example": 1
},
"applicationName": {
"description": "Name of the application or in its absence the simple name of the browser",
"type": "string",
"example": "Netscape"
},
"applicationCode": {
"description": "Application code or browser agent code",
"type": "string",
"example": "Mozilla"
},
"internetEnabledFlag": {
"description": "Flag that indicates if the browser has internet, true-enabled, false-disabled",
"type": "boolean",
"example": true
},
"screenSize": {
"description": "Width of the client's screen",
"type": "integer",
"format": "int32",
"example": 1440
},
"screenPixels": {
"description": "Deep of pixels on the client's screen",
"type": "integer",
"format": "int32",
"example": 24
},
"osName": {
"description": "Name of the operating system where the browser is running",
"type": "string",
"example": "Mac"
},
"browserVersion": {
"description": "Browser version",
"type": "integer",
"format": "int32",
"example": 12
},
"browserName": {
"description": "Browser name",
"type": "string",
"example": "Safari"
}
},
"required": [
"browserName",
"browserVersion",
"osName",
"screenPixels",
"screenSize",
"internetEnabledFlag",
"applicationCode",
"applicationName",
"cookieEnabledIndicator",
"browserLanguage",
"javaVersion",
"browserTimezone",
"screenResolution",
"sessionBrowserUserAgent"
]
}
{
"type": "object",
"properties": {
"queryTime": {
"description": "Time at which the request is launched, this data comes from the time of the smartPhone",
"type": "string",
"format": "date",
"example": "2019-03-09T13:00:00Z"
},
"deviceId": {
"description": "Device identifier, if the SDK can not recover it, it returns -1",
"type": "string",
"example": "-1"
},
"simId": {
"description": "Identifier of the SIM card of the device, if the SDK can not recover it, it returns -1",
"type": "string",
"example": "-1"
},
"phoneNumber": {
"description": "Phone number of the device, if the SDK can not recover it, it returns -1",
"type": "string",
"example": "-1"
},
"rsaApplicationKey": {
"description": "Key that identifies the RSA SDK",
"type": "string",
"example": "10F29219081905EC2BEBFF5AD779EE48"
},
"mobileCompromisedIndicator": {
"description": "It indicates if the smartphone is altered (Root or Jailbreak),0- disabled,1- enabled",
"type": "integer",
"format": "int32",
"example": 0
},
"mobileEmulatorIndicator": {
"description": "It indicates if the RSA SDK is running in simulator or in a physical device,0- disabled,1- enabled",
"type": "integer",
"format": "int32",
"example": 1
}
},
"required": [
"mobileEmulatorIndicator",
"mobileCompromisedIndicator",
"rsaApplicationKey",
"phoneNumber",
"simId",
"deviceId",
"queryTime"
]
}
{
"type": "object",
"properties": {
"sessionBrowserUserAgent": {
"description": "Web browser identifier",
"type": "string",
"example": "mozilla/5.0+(macintosh;+intel+mac+os+x+10_14_3)"
},
"screenResolution": {
"description": "Resolution of the client's screen where the browser is running",
"type": "string",
"example": "24|1440|900|830"
},
"browserTimezone": {
"description": "Time zone configured in the browser",
"type": "integer",
"format": "int32",
"example": 6
},
"javaVersion": {
"description": "Java version loaded in the browser",
"type": "integer",
"format": "int32",
"example": 1
},
"browserLanguage": {
"description": "Browser language",
"type": "string",
"example": "lang=es-XL|syslang=|userlang="
},
"cookieEnabledIndicator": {
"description": "It indicates if cookies are enabled 0-disabled, 1-enabled",
"type": "integer",
"format": "int32",
"example": 1
},
"applicationName": {
"description": "Name of the application or in its absence the simple name of the browser",
"type": "string",
"example": "Netscape"
},
"applicationCode": {
"description": "Application code or browser agent code",
"type": "string",
"example": "Mozilla"
},
"internetEnabledFlag": {
"description": "Flag that indicates if the browser has internet, true-enabled, false-disabled",
"type": "boolean",
"example": true
},
"screenSize": {
"description": "Width of the client's screen",
"type": "integer",
"format": "int32",
"example": 1440
},
"screenPixels": {
"description": "Deep of pixels on the client's screen",
"type": "integer",
"format": "int32",
"example": 24
},
"osName": {
"description": "Name of the operating system where the browser is running",
"type": "string",
"example": "Mac"
},
"browserVersion": {
"description": "Browser version",
"type": "integer",
"format": "int32",
"example": 12
},
"browserName": {
"description": "Browser name",
"type": "string",
"example": "Safari"
}
},
"required": [
"browserName",
"browserVersion",
"osName",
"screenPixels",
"screenSize",
"internetEnabledFlag",
"applicationCode",
"applicationName",
"cookieEnabledIndicator",
"browserLanguage",
"javaVersion",
"browserTimezone",
"screenResolution",
"sessionBrowserUserAgent"
]
}
{
"type": "object",
"properties": {
"queryTime": {
"description": "Time at which the request is launched, this data comes from the time of the smartPhone",
"type": "string",
"format": "date",
"example": "2019-03-09T13:00:00Z"
},
"deviceId": {
"description": "Device identifier, if the SDK can not recover it, it returns -1",
"type": "string",
"example": "-1"
},
"simId": {
"description": "Identifier of the SIM card of the device, if the SDK can not recover it, it returns -1",
"type": "string",
"example": "-1"
},
"phoneNumber": {
"description": "Phone number of the device, if the SDK can not recover it, it returns -1",
"type": "string",
"example": "-1"
},
"rsaApplicationKey": {
"description": "Key that identifies the RSA SDK",
"type": "string",
"example": "10F29219081905EC2BEBFF5AD779EE48"
},
"mobileCompromisedIndicator": {
"description": "It indicates if the smartphone is altered (Root or Jailbreak),0- disabled,1- enabled",
"type": "integer",
"format": "int32",
"example": 0
},
"mobileEmulatorIndicator": {
"description": "It indicates if the RSA SDK is running in simulator or in a physical device,0- disabled,1- enabled",
"type": "integer",
"format": "int32",
"example": 1
}
},
"required": [
"mobileEmulatorIndicator",
"mobileCompromisedIndicator",
"rsaApplicationKey",
"phoneNumber",
"simId",
"deviceId",
"queryTime"
]
}
{
"type": "object",
"properties": {
"challengeQuestion": {
"type": "string",
"description": "Challenge previously received (must be same as the given from get challenge service), composed by 8 digit numbers.",
"example": "87295410"
},
"otpToken": {
"description": "One time password Text that is generated and sent to User's registered communication device.",
"type": "string",
"example": "17364892"
},
"jwtToken": {
"type": "string",
"description": "JWT to be validated when customer has being migrated to transmit platform",
"example": "kkhljsdf87sdifskjfsdhkf8fsdf"
},
"grantType": {
"description": "Id of the token, used for identifying the kind of functional Id also known as applicationId for calling the transmit JWT validator service.",
"type": "string",
"example": "2"
}
}
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentTransactionDetails"
}
},
"required": [
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/Account"
},
"destinationAccount": {
"$ref": "#/definitions/Account"
},
"transaction": {
"$ref": "#/definitions/Transaction"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund issuer",
"type": "string",
"example": "B2-A",
"maxLength": 5
}
},
"required": [
"sourceAccount",
"destinationAccount",
"transaction",
"fundIssuer",
"fundCode"
]
}
{
"type": "object",
"properties": {
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"transactionStatus": {
"description": "Status of the payment",
"type": "string",
"example": "1"
},
"transactionStatusReason": {
"description": "Status reason of the transaction",
"type": "string",
"example": "AUTHORIZED"
},
"transactionDate": {
"description": "Refers to the system date when the actual transaction was executed for an account",
"type": "string",
"format": "date-time",
"example": "2017-07-21T17:32:28Z"
},
"transactionAuthorizationCode": {
"description": "transaction authorization code from S015",
"type": "integer",
"format": "int64",
"example": 1234566
},
"transactionId": {
"description": "Transaction unique identifier generated by S130",
"type": "string",
"maxLength": 9,
"example": "12345667"
}
},
"required": [
"settlementCode",
"transactionAmount",
"transactionDate",
"unitCount",
"transactionStatus",
"transactionAuthorizationCode",
"transactionId"
]
}
{
"type": "object",
"properties": {
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"unitPriceAmount": {
"description": "Investment unit fund price",
"type": "number",
"format": "double",
"example": 2500.55
},
"transactionStatus": {
"description": "Status of the payment",
"type": "string",
"example": "1"
},
"transactionStatusReason": {
"description": "Status reason of the transaction",
"type": "string",
"example": "AUTHORIZED"
},
"transactionDate": {
"description": "Refers to the system date when the actual transaction was executed for an account",
"type": "string",
"format": "date-time",
"example": "2017-07-21T17:32:28Z"
},
"transactionAuthorizationCode": {
"description": "transaction authorization code from S015",
"type": "integer",
"format": "int64",
"example": 1234566
},
"transactionId": {
"description": "Transaction unique identifier generated by S130",
"type": "string",
"maxLength": 9,
"example": "12345667"
}
},
"required": [
"settlementCode",
"transactionAmount",
"transactionDate",
"unitCount",
"unitPriceAmount",
"transactionStatus",
"transactionAuthorizationCode",
"transactionId"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountInformation"
},
"destinationAccount": {
"$ref": "#/definitions/AccountInformation"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"transactionStatus": {
"description": "Status of the payment",
"type": "string",
"example": "1"
},
"transactionStatusReason": {
"description": "Status reason of the transaction",
"type": "string",
"example": "AUTHORIZED"
},
"transactionDate": {
"description": "Refers to the system date when the actual transaction was executed for an account",
"type": "string",
"format": "date-time",
"example": "2017-07-21T17:32:28Z"
},
"transactionAuthorizationCode": {
"description": "transaction authorization code from S015",
"type": "integer",
"format": "int64",
"example": 1234566
},
"transactionId": {
"description": "Transaction unique identifier generated by S130",
"type": "string",
"maxLength": 9,
"example": "12345667"
}
},
"required": [
"sourceAccount",
"destinationAccount",
"fundIssuer",
"fundCode",
"settlementCode",
"transactionAmount",
"transactionDate",
"unitCount",
"transactionStatus",
"transactionAuthorizationCode",
"transactionId"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/BuyInvestmentTransaction"
},
"security": {
"$ref": "#/definitions/SecurityDetail"
}
},
"required": [
"investmentTransaction",
"security"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/Account"
},
"destinationAccount": {
"$ref": "#/definitions/Account"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"transactionInfo": {
"$ref": "#/definitions/TransactionInfo"
},
"security": {
"$ref": "#/definitions/SecurityData"
}
},
"required": [
"sourceAccount",
"destinationAccount",
"fundIssuer",
"fundCode",
"transactionInfo",
"security"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountInformation"
},
"destinationAccount": {
"$ref": "#/definitions/AccountInformation"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"unitPriceAmount": {
"description": "Amount charged by the merchant for the purchase of the item(unit) as provided in invoice.",
"type": "number",
"format": "double",
"example": 2500.55
}
},
"required": [
"sourceAccount",
"destinationAccount",
"fundIssuer",
"fundCode",
"settlementCode",
"transactionAmount",
"unitCount",
"settlementDate",
"unitPriceAmount"
]
}
{
"type": "object",
"properties": {
"rsaVersion": {
"description": "Version of the RSA that generates the data in the client (Browsers or Mobile Apps)",
"type": "string",
"example": "3.4.1.1"
},
"browser": {
"$ref": "#/definitions/BrowserDetails"
},
"mobile": {
"$ref": "#/definitions/MobileDetails"
}
},
"required": [
"rsaVersion"
]
}
{
"type": "object",
"properties": {
"rsaVersion": {
"description": "Version of the RSA that generates the data in the client (Browsers or Mobile Apps)",
"type": "string",
"example": "3.4.1.1"
},
"browser": {
"$ref": "#/definitions/BrowserData"
},
"mobile": {
"$ref": "#/definitions/Device"
}
},
"required": [
"rsaVersion"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentBuyTransactionDetails"
}
},
"required": [
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/Account"
},
"destinationAccount": {
"$ref": "#/definitions/Account"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"investmentTransaction": {
"$ref": "#/definitions/TransactionDetail"
}
},
"required": [
"sourceAccount",
"destinationAccount",
"fundIssuer",
"fundCode",
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountInformation"
},
"destinationAccount": {
"$ref": "#/definitions/AccountInformation"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "SP",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"unitPriceAmount": {
"description": "Investment unit fund price",
"type": "number",
"format": "double",
"example": 2500.55
},
"transactionStatus": {
"description": "Status of the payment",
"type": "string",
"example": "1"
},
"transactionStatusReason": {
"description": "Status reason of the transaction",
"type": "string",
"example": "AUTHORIZED"
},
"transactionDate": {
"description": "Refers to the system date when the actual transaction was executed for an account",
"type": "string",
"format": "date-time",
"example": "2017-07-21T17:32:28Z"
},
"transactionAuthorizationCode": {
"description": "transaction authorization code from S015",
"type": "integer",
"format": "int64",
"example": 1234566
},
"transactionId": {
"description": "Transaction unique identifier generated by S130",
"type": "string",
"maxLength": 9,
"example": "12345667"
}
},
"required": [
"sourceAccount",
"destinationAccount",
"fundIssuer",
"fundCode",
"settlementCode",
"transactionAmount",
"unitCount",
"unitPriceAmount",
"transactionStatus",
"transactionDate",
"transactionAuthorizationCode",
"transactionId"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentTransactionInfo"
}
},
"required": [
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentTransactionDetail"
}
},
"required": [
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentTransactionSimInfo"
}
},
"required": [
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/Account"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "H",
"maxLength": 3
},
"encryptedTransactionData": {
"description": "Encrypt the transaction information. This is an example of the object to encrypt: {\"transactionAmount\":2500.55,\"unitCount\":120}. Just unitCount is REQUIRED not empty.",
"type": "string",
"example": "%$YU(&$&%/%&8678&/g5667m67uv5gfhfgjhhg"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
}
},
"required": [
"sourceAccount",
"fundIssuer",
"settlementCode",
"encryptedTransactionData",
"fundCode"
]
}
{
"type": "object",
"properties": {
"destinationAccount": {
"$ref": "#/definitions/Account"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "H",
"maxLength": 3
},
"encryptedTransactionAmount": {
"description": "Encrypt the total amount(double) of the transaction. This is an example of the object to encrypt: {\"transactionAmount\":2500.55}. It is REQUIRED.",
"type": "string",
"example": "%$YU(&$&%/%&8678&/g5667m67uv5gfhfgjhhg"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
}
},
"required": [
"destinationAccount",
"clientReferenceId",
"fundIssuer",
"settlementCode",
"encryptedTransactionAmount",
"fundCode"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountInformation"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "H",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
}
},
"required": [
"sourceAccount",
"fundIssuer",
"settlementCode",
"fundCode"
]
}
{
"type": "object",
"properties": {
"destinationAccount": {
"$ref": "#/definitions/AccountInformation"
},
"clientReferenceId": {
"description": "The customer-defined reference number is sent by the partner's POS system and contains any information that the partner and Citi have agreed is needed for the purchase.",
"type": "string",
"maxLength": 9,
"example": "0123456789"
},
"fundIssuer": {
"description": "Issuer of the investment fund",
"type": "string",
"example": "BNM1LIQ",
"maxLength": 10
},
"settlementCode": {
"description": "Unique code to identify the transaction settlement",
"type": "string",
"example": "H",
"maxLength": 3
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
}
},
"required": [
"destinationAccount",
"fundIssuer",
"settlementCode",
"transactionAmount"
]
}
{
"type": "object",
"properties": {
"investmentTransaction": {
"$ref": "#/definitions/InvestmentTransactionSimDetails"
}
},
"required": [
"investmentTransaction"
]
}
{
"type": "object",
"properties": {
"destinationAccount": {
"$ref": "#/definitions/Account"
},
"encryptedTransactionInfo": {
"description": "Encrypt the transaction information. This is an example of the object to encrypt: {\"transactionAmount\":2500.55,\"unitCount\":120,\"unitPriceAmount\":2500.55}. All of them are REQUIRED.",
"type": "string",
"example": "%$YU(&$&%/%&8678&/g5667m67uv5gfhfgjhhg"
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"currentValueAmount": {
"description": "Current value amount of the security",
"type": "number",
"format": "double",
"example": 3510.5
}
},
"required": [
"settlementDate",
"fundCode",
"encryptedTransactionInfo"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/Account"
},
"encryptedTransactionInfo": {
"description": "Encrypt the transaction information. This is an example of the object to encrypt: {\"transactionAmount\":2500.55,\"unitCount\":120,\"unitPriceAmount\":2500.55}. All of them are REQUIRED.",
"type": "string",
"example": "%$YU(&$&%/%&8678&/g5667m67uv5gfhfgjhhg"
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"currentValueAmount": {
"description": "Current value amount of the security",
"type": "number",
"format": "double",
"example": 3510.5
}
},
"required": [
"sourceAccount",
"encryptedTransactionInfo",
"settlementDate",
"fundCode"
]
}
{
"type": "object",
"properties": {
"accountId": {
"description": "AccountId will be an ID used to represent an account number uniquely",
"type": "string",
"maxLength": 36,
"example": "701209963887"
}
},
"required": [
"accountId"
]
}
{
"type": "object",
"properties": {
"destinationAccount": {
"$ref": "#/definitions/AccountInfoData"
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"settlementDate": {
"description": "Transaction settlement date",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"unitPriceAmount": {
"description": "Investment unit fund price",
"type": "number",
"format": "double",
"example": 2500.55
},
"currentValueAmount": {
"description": "Current value amount of the security",
"type": "number",
"format": "double",
"example": 3510.5
}
},
"required": [
"transactionAmount",
"unitCount",
"settlementDate",
"fundCode",
"unitPriceAmount"
]
}
{
"type": "object",
"properties": {
"accountId": {
"description": "AccountId will be an ID used to represent an account number uniquely",
"type": "string",
"maxLength": 36,
"example": "701209963887"
}
},
"required": [
"accountId"
]
}
{
"type": "object",
"properties": {
"destinationAccount": {
"$ref": "#/definitions/AccountData"
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"unitPriceAmount": {
"description": "Amount charged by the merchant for the purchase of the item(unit) as provided in invoice.",
"type": "number",
"format": "double",
"example": 2500.55
},
"currentValueAmount": {
"description": "Current value amount of the security",
"type": "number",
"format": "double",
"example": 3510.5
}
},
"required": [
"transactionAmount",
"unitCount",
"settlementDate",
"fundCode",
"unitPriceAmount"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountDetail"
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"settlementDate": {
"description": "Transaction settlement date",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"unitPriceAmount": {
"description": "Investment unit fund price",
"type": "number",
"format": "double",
"example": 2500.55
},
"currentValueAmount": {
"description": "Current value amount of the security",
"type": "number",
"format": "double",
"example": 3510.5
}
},
"required": [
"sourceAccount",
"transactionAmount",
"unitCount",
"settlementDate",
"fundCode",
"unitPriceAmount"
]
}
{
"type": "object",
"properties": {
"sourceAccount": {
"$ref": "#/definitions/AccountDetail"
},
"transactionAmount": {
"description": "Refers to the total amount of the transaction",
"type": "number",
"format": "double",
"example": 2500.55
},
"unitCount": {
"description": "It indicates the number of units of a specific product in investment holdings or in purchase or sold by the customer.",
"type": "integer",
"format": "int32",
"example": 120
},
"settlementDate": {
"description": "Refers to the date when the transaction was actually settled. Generally applicable to the multicurrency transaction wherein the date of transaction posting is different from that of settlement.Date in ISO 8601, YYYY-MM-DD format",
"type": "string",
"format": "date",
"example": "2019-07-14"
},
"fundCode": {
"description": "Unique code to identify the investment fund",
"type": "string",
"example": "B2-A",
"maxLength": 5
},
"unitPriceAmount": {
"description": "Amount charged by the merchant for the purchase of the item(unit) as provided in invoice.",
"type": "number",
"format": "double",
"example": 2500.55
},
"currentValueAmount": {
"description": "Current value amount of the security",
"type": "number",
"format": "double",
"example": 3510.5
}
},
"required": [
"sourceAccount",
"transactionAmount",
"unitCount",
"settlementDate",
"fundCode",
"unitPriceAmount"
]
}
{
"properties": {
"type": {
"type": "string",
"description": "Invalid - Request did not confirm to the specification and was unprocessed and rejected. Please fix the value and try again",
"enum": [
"error",
"warn",
"invalid",
"fatal"
]
},
"code": {
"description": "Error code which qualifies the error",
"type": "string"
},
"details": {
"description": "Human readable explanation specific to the occurrence of the problem",
"type": "string"
},
"location": {
"description": "The name of the field that resulted in the error",
"type": "string"
},
"moreInfo": {
"description": "More Info can be used to pass any additional details",
"type": "string"
},
"uuid": {
"description": "128 bit UUID that you generate for every request",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the error",
"type": "string"
}
},
"required": [
"type",
"code"
]
}