Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openapi: 3.0.0
- servers:
- # Added by API Auto Mocking Plugin
- - description: SwaggerHub API Auto Mocking
- url: https://virtserver.swaggerhub.com/YanuarHamzah/API_DANAMON/D_0_1
- - description: SwaggerHub API Auto Mocking
- url: https://virtserver.swaggerhub.com/YanuarHamzah/testYH/D_0_1
- info:
- description: This is a draft API for BTN Project. You can find out more about this on JIRA / Trello
- version: "D.0.1"
- title: API DANAMON PROJECT
- contact:
- email: yanuar.hamzah@invisee.com
- license:
- name: Apache 2.0
- url: 'http://www.apache.sSshorg/licenses/LICENSE-2.0.html'
- paths:
- /package/category:
- post:
- tags:
- - PRODUCT LIST
- summary: show category of product (in Fund Package)
- operationId: postPackageCategory
- description: |
- Body Request :
- 1. token = token valid from login
- Response :
- Showing product category from lookup_line with token valid.
- 1. id = lookup_line.lookup_id
- 2. code = lookup_line.code
- 3. categoryName = lookup_line.value
- lookup_line join with lookup_header (lookup_line.category_id = lookup_header.category_id = 20). And retrive data with lookup_line.publish_status = t.
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProduct'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseProductCategory'
- '500':
- description: internal server error
- /package/list:
- post:
- tags:
- - PRODUCT LIST
- summary: show list of product (in Fund Package)
- operationId: postPackageList
- description: |
- Body Request :
- 1. token = token valid from login
- 2. agent =
- Response :
- Showing fund package list where fund_packages.fund_package_status = APP and token customer is valid.
- 1. type_code = lookup_line.code (join lookup_line.lookup_id = fund_package_category.pkg_category_id) ;
- 2. package_type = lookup_line.value (join lookup_line.lookup_id = fund_package_category.pkg_category_id)
- 3. last_nav_date = ut_product_fund_prices.price_date (join fund_package_products.fund_packages_id = fund_packages. fund_packages_id; ambil ut_product_id ; join ut_product_fund_prices.products_id = ut_products.products_id). limit 1 / TOP 1 && order by created date desc
- 4. image = fund_packages.package_image (join fundpackage id)
- 5. last_nav = ut_product_fund_prices.bid_price (mengacu join point 3)
- 6. code = fund_packages.package_code
- 7. perf_oneyear
- 8. name = fund_packages.fund_package_name
- 9. id = fund_packages.fund_package_id
- 10. total_fund =
- 11. recommended =
- 12. prospectus_file = ut_products.prospectus_file (fund_package_products.ut_products_id = ut_products.product_id)
- 13. fact_sheet_file = ut_products.fund_fact_sheet_key (fund_package_products.ut_products_id = ut_products.product_id)
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProduct'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseProductList'
- '500':
- description: internal server error
- /package/detail:
- post:
- tags:
- - PRODUCT LIST
- summary: show product detail (fund package detail) where fund_packages.package_code = body_request.code and and token customer is valid.
- operationId: postPackageListDetail
- description: |
- Body Request :
- 1. token = token valid from login
- 2. Code = code compare to fund_packages.package_code
- Response :
- Showing fund package list detail where fund_packages.package_code = bodyRequest.Code
- 1. perf_oneyear
- 2.last_nav_date = ut_product_fund_prices.price_date (join fund_package_products.fund_packages_id = fund_packages. fund_packages_id; ambil ut_product_id ; join ut_product_fund_prices.products_id = ut_products.products_id). limit 1 / TOP 1 && order by created date DESC
- 3. last_nav = ut_product_fund_prices.bid_price (mengacu join point 2)
- 4. prospectus_file = ut_products.prospectus_file (fund_package_products.ut_products_id = ut_products.product_id)
- 5. fact_sheet_file = ut_products.fund_fact_sheet_key (fund_package_products.ut_products_id = ut_products.product_id)
- 6. description = fund_packages.package_desc
- 7. minimal_subscribe = fund_packages.min_subscription_amount
- 8. minimal_topup = fund_packages.min_topup_amount
- 9. transaction_cut_off = fund_packages.transaction_cut_off
- 10. settlement_cut_off = fund_packages.settlement_cut_off
- 11. settlement_period = fund_packages.settlement_period
- 12. image = fund_packages.package_image (join fundpackage id)
- 13. code = fund_packages.package_code
- 14. package_type = lookup_line.value (join lookup_line.lookup_id = fund_package_category.pkg_category_id; fund_packages.fund_packages_id = fund_package_category.fund_packages_id)
- 15. risk_level = score.score_code (join score.score_id = ut_products.risk_profile_id ; join ut_products.product_id = fund_package_products.ut_products_id)
- 16. name = fund_packages.fund_package_name
- 17. effective_date = fund_packages.effective_date
- 18. bank_name = bank.bank_name (join bank.bank_id = fund_escrow_account.bank_id; join fund_escrow_account.fund_packages_id = fund_packages.fund_packages_id)
- 19. currency = fund_packages.currency
- 20. bank_logo = bank.image_key (join bank.bank_id = fund_escrow_account.bank_id; join fund_escrow_account.fund_packages_id = fund_packages.fund_packages_id)
- 21. type_code = lookup_line.code (join lookup_line.lookup_id = fund_package_category.pkg_category_id; fund_packages.fund_packages_id = fund_package_category.fund_packages_id)
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProductDetail'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseProductDetail'
- '500':
- description: internal server error
- /package/NAV:
- post:
- tags:
- - PRODUCT LIST
- summary: show product all nav where fund_packages.package_code = body_request.code order by ut_product_fund_prices.price_date.
- operationId: postPackageNAV
- description: |
- Body Request :
- 1. token = token valid from login
- 2. Code = code compare to fund_packages.package_code
- Response :
- Showing nav where fund_packages.package_code = bodyRequest.code; fund_package_products.fund_package_product_id = ut_products.product_id; ut_product_fund_prices.products_id = ut_products.product_id); oder by ut_product_fund_prices.ut_product_fund_prices_id asc
- 1. price_date = ut_product_fund_prices.price_date
- 2. nav = ut_product_fund_prices.bid_price
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProductDetail'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseProductNAV'
- '500':
- description: internal server error
- /package/subscription_fee:
- post:
- tags:
- - PRODUCT LIST
- summary: show product fee for subscription where fund_packages.package_code = body_request.code.
- operationId: postPackageSubsFee
- description: |
- Body Request :
- 1. token = token valid from login
- 2. Code = bodyRequest.code compare to fund_packages.package_code
- Response :
- Showing fee subs where fund_packages.package_code = bodyRequest.code ; fund_packages_id in fund_packages_agent (join with agent.id from point 1; fund_package_fee_setup = fund_packages.fund_package_id; fund_package_fee_setup.transaction_type_id = 1) order by fund_package_fee_setup.package_fee_id asc;
- 1. fee = fund_package_fee_setup.fee_amount
- 2. amount_start = fund_package_fee_setup.amount_min
- 3. amount_end = fund_package_fee_setup.amount_max
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProductDetail'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseSubsFee'
- '500':
- description: internal server error
- /package/redemption_fee:
- post:
- tags:
- - PRODUCT LIST
- summary: show product fee for redemption where fund_packages.package_code = body_request.code.
- operationId: postPackageRedeemFee
- description: |
- Body Request :
- 1. token = token valid from login
- 2. Code = bodyRequest.code compare to fund_packages.package_code
- Response :
- Showing fee subs where fund_packages.package_code = bodyRequest.code ; fund_packages_id in fund_packages_agent (join with agent.id from point 1; fund_package_fee_setup = fund_packages.fund_package_id; fund_package_fee_setup.transaction_type_id = 2) order by fund_package_fee_setup.package_fee_id asc;
- 1. fee = fund_package_fee_setup.fee_amount
- 2. amount_start = fund_package_fee_setup.amount_min
- 3. amount_end = fund_package_fee_setup.amount_max
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProductDetail'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseRedeemFee'
- '500':
- description: internal server error
- /package/switching_fee:
- post:
- tags:
- - PRODUCT LIST
- summary: show product fee for switching where fund_packages.package_code = body_request.code.
- operationId: postPackageSwitchFee
- description: |
- Body Request :
- 1. token = token valid from login
- 2. Code = bodyRequest.code compare to fund_packages.package_code
- Response :
- Showing fee subs where fund_packages.package_code = bodyRequest.code ; fund_packages_id in fund_packages_agent (join with agent.id from point 1; fund_package_fee_setup = fund_packages.fund_package_id; fund_package_fee_setup.transaction_type_id = 20) order by fund_package_fee_setup.package_fee_id asc;
- 1. fee = fund_package_fee_setup.fee_amount
- 2. amount_start = fund_package_fee_setup.amount_min
- 3. amount_end = fund_package_fee_setup.amount_max
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProductDetail'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseSwitchFee'
- '500':
- description: internal server error
- /package/getSwitchProduct:
- post:
- tags:
- - PRODUCT LIST
- summary: show product can be switched.
- operationId: postPackageSwitchAllowed
- description: |
- Create New Table for :
- switching_mapping :
- - id;int8
- - created_by;varchar
- - created_date;timestamp
- - product_in_id;int8
- - product_out_id;int8
- - row_status;bool
- - updated_by;varchar
- - updated_date;timestamp
- Body Request :
- 1. token = token valid from login
- 2. Code = bodyRequest.code compare to fund_packages.package_code
- Response :
- Showing product can be switched from package from with criteria --> switching_mapping.product_out_id = fund_packages.fund_package_id (join bodyRequest.code = fund_packages.code)
- 1. packageId = fund_packages.fund_package_id (join switching_mapping.product_in_id = fund_packages.fund_package_id; bodyRequest.code = fund_packages.code)
- 2. name = fund_packages.fund_package_name (join switching_mapping.product_in_id = fund_packages.fund_package_id; bodyRequest.code = fund_packages.code)
- 3. packageType = lookup_line.value (join lookup_line.lookup_id = fund_package_category.pkg_category_id; fund_packages.fund_packages_id = fund_package_category.fund_packages_id)
- 4. currency = fund_packages.currency (join switching_mapping.product_in_id = fund_packages.fund_package_id; bodyRequest.code = fund_packages.code)
- 5. prospectus_file = ut_products.prospectus_file (fund_package_products.ut_products_id = ut_products.product_id; bodyRequest.code = fund_packages.code)
- 6. fact_sheet_file = ut_products.fund_fact_sheet_key (fund_package_products.ut_products_id = ut_products.product_id; bodyRequest.code = fund_packages.code)
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetListProductDetail'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseSwitchProduct'
- '500':
- description: internal server error
- /customer/getSettlementAccounts:
- post:
- tags:
- - CUSTOMER
- summary: show settlement account based on valid customer token
- operationId: postSettlementAccount
- description: |
- Body Request :
- 1. token = token valid from login
- Response :
- showing data for settlement account from token valid compare with kyc id from token valid.
- Version 1
- Response :
- showing data for settlement account (from table settlement_account) from token valid compare with kyc id from token valid.
- (settlement_accounts.kycs_id = kyc.customer_id)
- 1. packageName = fund_packages.fund_packages_name (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 2. packageCode = fund_packages.package_code (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 3. stlAccountName = settlement_accounts.settlement_account_name
- 4. stlAccountNo = settlement_accounts.settlement_account_no
- 5. bankName = bank.bank_name (join settlement_accounts.bank_id_id = bank.bank_id)
- 6. settlementAccountId = settlement_accounts.settlement_account_id
- 7. currency = settlement_accounts.currency
- Version 2
- Response : (not used)
- showing data for settlement account (from table settlement_account) from token valid compare with kyc id from token valid.
- (settlement_accounts.kycs_id = kyc.customer_id)
- 1. packageName = fund_packages.fund_packages_name (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 2. packageId = fund_packages.fund_package_id (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 3. stlAccountName = settlement_accounts.settlement_account_name
- 4. stlAccountNo = settlement_accounts.settlement_account_no
- 5. bankName = bank.bank_name (join settlement_accounts.bank_id_id = bank.bank_id)
- 6. settlementAccountId = settlement_accounts.settlement_account_id
- 7. currency = settlement_accounts.currency
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetSettlementAcc'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseGetSettlementAcc'
- '500':
- description: internal server error
- /customer/getInvestmentAccounts:
- post:
- tags:
- - CUSTOMER
- summary: show investment account based on valid customer token
- operationId: getInvestmentAccount
- description: |
- Body Request :
- 1. token = token valid from login
- Version 1
- Response :
- showing data for investment account (from table investment_account) from token valid compare with kyc id from token valid.
- (investment_accounts.kycs_id = kyc.customer_id)
- 1. packageName = fund_packages.fund_packages_name (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 2. packageType = lookup_line.value (join lookup_line.lookup_id = fund_package_category.pkg_category_id; investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 3. currency = fund_packages.currency (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 4. totalUnit = customer_balance.current_unit (join investment_accounts.at_investment_account_id = customer_balance.at_investment_account_id; join costumer_balance.fund_packages_id = fund_packages.fund_package_id; join fund_packages.fund_package_id = fund_package_products.fund_packages_id; join fund_package_products.ut_products_id = ut_products.product_id;) oder by created_date desc; limit 1
- 5. investmentAccountId = investment_accounts.investment_account_no
- 6. packageCode = fund_packages.package_code (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 7. packageId = fund_packages.fund_package_id (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- Versi 2
- Response : (not used)
- showing data for investment account (from table investment_account_grouping) from token valid compare with kyc id from token valid.
- (investment_account_grouping.kycs_id = kyc.customer_id;) join with investment_accounts (investment_accounts.inv_acc_group_id = investment_account_grouping.id)
- 1. packageName = fund_packages.fund_packages_name (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 2. packageType = lookup_line.value (join lookup_line.lookup_id = fund_package_category.pkg_category_id; investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 3. currency = settlement_accounts.currency (join settlement_accounts.settlement_account_id = investment_accounts = settlement_accounts.settlement_accounts_id)
- 4. totalUnit = customer_balance.current_unit (join investment_accounts.at_investment_account_id = customer_balance.at_investment_account_id; join costumer_balance.fund_packages_id = fund_packages.fund_package_id; join fund_packages.fund_package_id = fund_package_products.fund_packages_id; join fund_package_products.ut_products_id = ut_products.product_id;) oder by created_date desc; limit 1
- 5. investmentAccountId = investment_accounts.investment_account_no
- 6. packageCode = fund_packages.package_code (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 7. packageId = fund_packages.fund_package_id (join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetInvtAcc'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseGetInvestmentAcc'
- '500':
- description: internal server error
- /customer/profile_view:
- post:
- tags:
- - CUSTOMER
- summary: show detail customer information
- operationId: postProfileView
- description: |
- Body Request :
- 1. token = token valid from login
- Response :
- showing data for kyc table from token valid compare with kyc.customer_id from token valid.
- 1. customer_id = kyc.portalcif
- 2. customer_risk_profile.code = score.score_code (join kyc.risk_profile_id = score.score_id)
- 3. customer_risk_profile.value = score.score_name (join kyc.risk_profile_id = score.score_id)
- 4. customer_document.id_card_image = customer_document.file_key
- (
- join kyc.acc=ount_id = _user.id
- join customer_document.user_id = _user.id
- where customer_document.document_type = DocTyp01 and customer_document.row_status = t
- order by customer_document.created_on desc
- )
- 5. customer_document.signature_image = customer_document.file_key
- (
- join kyc.account_id = _user.id
- join customer_document.user_id = _user.id
- where customer_document.document_type = DocTyp03 and customer_document.row_status = t
- order by customer_document.created_on desc
- )
- 6. customer_status = _user.user_status (join kyc.account_id = _user.id)
- 7. customer_data.general.last_name = kyc.last_name
- 8. customer_data.general.phone_number = = kyc.mobile_number
- 9. customer_data.general.first_name = kyc.first_name
- 10. kyc.settlement_account_no = settlement_accounts.settlement_account_no (join kyc.customer_id = settlement_accounts.kycs_id)
- 11. kyc.id_number = kyc.id_number
- 12. kyc.total_asset = kyc.total_asset
- 13. kyc.occupation = kyc.occupation
- 14. kyc.gender = kyc.gender
- 15. kyc.id_expiration = kyc.id_expiration_date
- 16. kyc.birth_date = kyc.birth_date
- 17. kyc.income_source = kyc.source_of_income
- 18. kyc.birth_place = kyc.birth_place
- 19. kyc.investment_purpose = kyc.investment_purpose
- 20. kyc.education_background = kyc.education_background
- 21. kyc.business_nature = kyc.nature_of_business
- 22. kyc.mailing.country = kyc.mailing_country
- 23. kyc.mailing.address = kyc.mailing_address
- 24. kyc.mailing.province = kyc.mailing_province
- 25. kyc.mailing.city = kyc.mailing_city
- 26. kyc.mailing.phone = kyc.legal_phone_number
- 27. kyc.mailing.postal_code = kyc.mailing_postal_code
- 28. kyc.mother_maiden_name = kyc.mother_maiden_name
- 29. kyc.religion = kyc.religion
- 30. kyc. marital_status = kyc.marital_status
- 31. kyc.nationality = kyc.nationality
- 32. kyc.investment_experience = kyc.investment_experience
- 33. kyc.settlement_bank = bank.bank_code
- (
- join kyc.customer_id = settlement_accounts.kycs_id
- join settlement_accounts.bank_id_id = bank.bank_id
- )
- 34. kyc.legal.country = kyc.legal_country
- 35. kyc.legal.province = SELECT kyc.legal_province
- 36. kyc.legal.city = kyc.legal_city
- 37. kyc.legal.phone = kyc.legal_phone_number
- 38. kyc.legal.postal_code = kyc.legal_postal_code
- 39. kyc.settlement_account_name = settlement_accounts.settlement_account_name (join kyc.customer_id = settlement_accounts.kycs_id)
- 40. kyc.statement_type
- 41. risk_profile.question = question.question_name
- (
- join customer_answer.kycs_id = kyc.customer_id
- join question.question_id = customer_answer.question_id
- joint answer.answer_id = customer_answer.question_id
- where question.questionaires_id = 6
- )
- 42. risk_profile.answer = answer.answer_name
- (
- join customer_answer.kycs_id = kyc.customer_id
- join question.question_id = customer_answer.question_id
- joint answer.answer_id = customer_answer.question_id
- where question.questionaires_id = 6
- )
- 42. fatca.question = question.question_name
- (
- join customer_answer.kycs_id = kyc.customer_id
- join question.question_id = customer_answer.question_id
- joint answer.answer_id = customer_answer.question_id
- where question.questionaires_id = 2
- )
- 43. fatca.answer = = answer.answer_name
- (
- join customer_answer.kycs_id = kyc.customer_id
- join question.question_id = customer_answer.question_id
- joint answer.answer_id = customer_answer.question_id
- where question.questionaires_id = 2
- )
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetCustomerProfile'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseGetCustomerProfile'
- '500':
- description: internal server error
- /customer/getInvestmentPurposeList:
- post:
- tags:
- - CUSTOMER
- summary: show investment purpose.
- operationId: postInvestmentPurpose
- description: |
- to show data investment purposes from table look up line
- where lookup_header.category = 'INVESTMENT_PURPOSE'
- order by lookup_id
- Response :
- - code : lookup_line.code (join with lookup_line.category_id = lookup_header.category_id)
- - value : lookup_line.code
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramGetInvestmentPurpose'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseGetInvestmentPurpose'
- '500':
- description: internal server error
- /otp/requestOtp:
- post:
- tags:
- - OTP
- summary: send otp to customer
- operationId: postSendOTP
- description: |
- Body Request from widget frontend :
- 1. token = token valid from login
- 2. sessionId
- 3. language = ind / eng
- Mapping to API Avantrade :
- API URI = /api/SendOTP (POST)
- body request to API Danamon:
- 1. sendotp --> X'|Data'|Z (xxxxxxxxxxx|yyyyyyyyyyyy|zzzzzzzzzzzzzzzzzz) ; Data --> sessionid:value|language:value
- 2. timestamp --> yyyyMMddHHmm
- 3. sequencenumber --> 6014+CIFNO(token = join kyc.customer_id; put kyc.portalcif)+HHmmss
- 4. referencenumber --> yyyyMMddHHmm+6014+CIFNO (token = join kyc.customer_id; put kyc.portalcif)+HHmmss
- example:
- {
- "sendotp" : "sessionid:7C5407E7-4D86-4BB4-B1E1-00A2B90AF364|language:id",
- "timestamp":"201828091520",
- "sequencenumber":"60140001132894152011",
- "referencenumber":"20182809152060140001132894152011"
- }
- Response Code :
- 0 ==> if response APIAvantrade code 000000
- 1 ==> if response APIAvantrade code 200001, 200002, 200005, 200004, 200007, 100001, 10000, 100003
- 99 ==> General Error / other error from list above
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramRequetOtp'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseRequestOTP'
- '500':
- description: internal server error
- /general/download:
- post:
- tags:
- - GENERAL FUNCTION
- summary: download document from key on table attach_file
- operationId: postDownloadFile
- description: |
- Body Request :
- 1. token = token signature
- 2. key = code compare to fund_packages.package_code
- Response :
- binary file
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramDownloadFile'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseDownloadFile'
- '500':
- description: internal server error
- /otp/checkOtp:
- post:
- tags:
- - OTP
- summary: validate otp
- operationId: postValidateOTP
- description: |
- Body Request from widget frontend :
- 1. token = token valid from login
- 2. sessionId
- 3. language = ind / eng
- 4. otp
- Mapping to API Avantrade :
- API URI = /api/VerifyOTP (POST)
- body request :
- 1. verifyotp --> X'|Data'|Z (xxxxxxxxxxx|yyyyyyyyyyyy|zzzzzzzzzzzzzzzzzz) ;
- Data --> sessionid:value|otpvalue:value|language:value
- example : sessionid:7C5407E7-4D86-4BB4-B1E1-00A2B90AF364|otpvalue:12345678|language:id
- 2. timestamp --> yyyyMMddHHmm
- 3. sequencenumber --> 6014+CIFNO(token = join kyc.customer_id; put kyc.portalcif)+HHmmss
- 4. referencenumber --> yyyyMMddHHmm+6014+CIFNO (token = join kyc.customer_id; put kyc.portalcif)+HHmmss
- example:
- {
- "verifyotp" : "sessionid:7C5407E7-4D86-4BB4-B1E1-00A2B90AF364|otpvalue:12345678|language:id",
- "timestamp":"201828091520",
- "sequencenumber":"60140001132894152011",
- "referencenumber":"20182809152060140001132894152011"
- }
- Response Code :
- 0 ==> if response APIAvantrade code 000000
- 1 ==> if response APIAvantrade code 200001, 200002, 200003, 200004, 100001, 100002, 100003
- 99 ==> General Error / other error from list above
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramValidateOtp'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseValidateOTP'
- '500':
- description: internal server error
- /transaction/validateCutOffTransaction:
- post:
- tags:
- - TRX
- summary: validate for cut off validation
- operationId: postValidateTrx
- description: |
- Flow :
- getDate(now) and compare to fund_packages.transaction_cut_off (select from fund_packages where package_code = bodyRequest.code)
- Case 1 :
- getDate(now) < fund_packages.transaction_cut_off
- responseCode = 000000
- responseMessage = Transaction Allowed
- Case 2 :
- getDate(now) < fund_packages.transaction_cut_off
- responseCode = 000001
- responseMessage = "Transaksi telah melampaui cut off time, dan akan diproses pada hari kerja berikutnya"
- Body Request :
- 1. code = code compare to fund_packages.package_code
- 2. token = token valid from login
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramValidateTrx'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseValidateTrx'
- '500':
- description: internal server error
- /transaction/validateRiskProfile:
- post:
- tags:
- - TRX
- summary: validate for risk profile
- operationId: postValidateRiskProfile
- description: |
- Body Request :
- 1. token = token valid from login
- get riskprofile expired date from kyc data / token valid customer. (join from kyc.risk_profile_id = score.questionaires_id).
- Case 1:
- - getDate(now) < score.effective_date_from
- - getDate(now) > score.effective_date_to
- responsecode = 000001
- responseMessage = "Data profil risiko Anda sudah tidak berlaku, silakan kunjungi Cabang Danamon terdekat untuk melakukan pengkinian data"
- Case 2:
- - getDate(now) >= score.effective_date_from
- - getDate(now) <= score.effective_date_to
- responsecode = 000000
- responseMessage = "Risk Profil Valid"
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramValidateRiskProfile'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseValidateRiskProfile'
- '500':
- description: internal server error
- /transaction/validateRiskProfileToProduct:
- post:
- tags:
- - TRX
- summary: validate for risk profile
- operationId: postValidateRiskProfileToProduct
- description: |
- Body Request :
- 1. token = token valid from login
- 2. code = code compare to fund_packages.package_code
- - profileScoreCust = get kyc.risk_profile_score (compare with token valid customer)
- - profileScoreProd = get score.max_score ( join fund_packages.risk_profile_id = score.score_id; fund_packages.package_code = bodyRequest.packageCode)
- Case 1 :
- profileScoreProd <= profileScoreCust
- responseCode = 000000
- responseMessage = Transaction Allowed
- Case 2 :
- profileScoreProd > profileScoreCust
- responseCode = 000001
- responseMessage = "Maaf, Anda tidak dapat melanjutkan transaksi karena Risk Profile product yang anda pilih melebihi dari Risk Profile Anda."
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramValidateRiskProfile2'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseValidateRiskProfile2'
- '500':
- description: internal server error
- /transaction/validateLimitSubscription:
- post:
- tags:
- - TRX
- summary: validate for limit subscription
- operationId: postValidateLimitSubscription
- description: |
- Body Request :
- 1. code = code compare to fund_packages.package_code
- 2. token = token valid from login
- 3. Amount = amount of transaction to compare min and max in table fund_packages
- get data min_subcription from table fund_packages (fund_packages.min_subscription_amount where fund_packages.package_code)
- If requestBody.Amount < fund_packages.min_subscription_amount
- Case 1 :
- requestBody.Amount >= fund_packages.min_subscription_amount
- responseCode = 0
- responseMessage = Transaction Allowed
- Case 2 :
- requestBody.Amount < fund_packages.min_subscription_amount
- responseCode = 1
- responseMessage = "Minimum transaksi adalah fund_packages.currency<<space>> fund_packages.min_subscription_amount"
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramValidateLimitProduct'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/responseValidateLimitProduct'
- '500':
- description: internal server error
- /transaction/subscription:
- post:
- tags:
- - TRX
- summary: Subscription
- operationId: trxSubs
- description: |
- Mapping to API Avantrade :
- API URI = avantradeapi/services/transaction/subscription (POST)
- body request :
- 1. productId = body request fundpackageId (ut_products.at_product_id; join with fund_packages_products.ut_products_id ; join with fund_package_product_id)
- 2. transactionAmount = transactionAmount
- 3. feeAmount = 0
- 4. feeRate = find for fee in fund_package_fee_setup.fee_amount (with range from fund_package_fee_setup.amount_min between fund_package_fee_setup.amount_max with fund_package_fee_setup.transaction_type_id = 1/3)
- 5. transactionDate = dd-MMM-yyyy
- 6. settlementAccountId = settlement_accounts.at_settlement_account_id (from bodyRequest.settlementAccountId ; join with bodyRequest.settlementAccountId = settlement_accounts.settlement_account_id; should be verified with token join to kyc.customer_id = settlement_accounts.kycs_id)
- 7. fundSourceId = kyc.source_of_income (from token compare to kyc.customer_id)
- 8. customerId = kyc.at_customer_id
- 9. investmentAccountId = investment_accounts.at_investment_account_id (from token at body request compare to kyc.customer_id join with investment_accounts.kycs_id && packageId at body request compare investment_accounts.fund_paackages_id)
- 10. orderNumber = generate by system (like in invisee OyymmddXXXXX)
- 11. transactionNumber = generate by system (like in invisee SyymmddXXXXX)
- 12. transactionId = fiiled with empty string
- errorCode :
- 000011 --> Failed, minimum subscription amount 500000
- 000011 --> Failed, maximum subscription amount 2000000000
- 000011 --> Failed, Transaction Passed Transaction Cut Off Time
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramSubs'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/responseSubs'
- '500':
- description: internal server error
- /transaction/AT_Subcription:
- post:
- tags:
- - TRX
- summary: Subscription
- operationId: trxSubsAuditTrail
- description: |
- Mapping to API Danamon :
- API URI = /AuditLog (POST)
- body request to API Danamon:
- 1. auditlog --> X'|Data'|Z (xxxxxxxxxxx|yyyyyyyyyyyy|zzzzzzzzzzzzzzzzzz) ; Data --> Data = sessionid;trxid;language;headervalue;detailvalue
- Explanation :
- NF = Notif Flag
- headervalue =
- - ref_no (20) = transaction_number_from_middle_office; NF = 1
- - dscp (300) = empty string; NF = 0
- - amt(19) = bodyRequest.transactionAmount; NF = 1
- - ccy (5) = fund_packages.currency (where fund_packages.fund_package_code = bodyRequest.code); NF = 1
- - unit(1) = 0 (hardcoded); NF = 0
- - source (100) = settlement_accounts.settlement_account_no (where settlement_accounts.settlement_account_id = bodyRequest.settlementAccountId); NF = 0
- - destination (100)= fund_packages.fund_package_name (where fund_packages.fund_package_code = bodyRequest.code); NF = 0
- - status(5) = true / false (based on bodyReuqest.responseCodeSubs; true = responseCodeSubs value : "000000" ; true = responseCodeSubs != "000000"); NF = 0
- - reason(1000) = bodyRequest.responseInfoSubs; NF = 0
- - template_cd (10) = TC35642_01 ( bodyReuqest.responseCodeSubs = "000000") / TC35642_02 ( bodyReuqest.responseCodeSubs != "000000"); NF = 1
- - formattemplate (50) = __child_trx_hist_det (hardcoded); NF = 1
- detailvalue =
- - productname = fund_packages.fund_package_name (where fund_packages.fund_package_code = bodyRequest.code); NF = 1
- - productcode = fund_packages.fund_package_id (where fund_packages.fund_package_code = bodyRequest.code); NF = 0
- - producttype = lookup_line.value (join lookup_line.lookup_id = fund_package_category.pkg_category_id; join lookup_line.lookup_id = fund_package_category.fund_package_id; fund_package_id.package_code = bodyRequest.code); NF = 0
- - fundmanager = investment_managers.full_name (join investment_managers.inv_manager_id = ut_products.investment_managers_id ; join ut_products.product_id.fund_package_product_id = fund_packages.fund_package_id ; where fund_packages.package_code = bodyRequest.code); NF = 0
- - ccy (5) = fund_packages.currency (where fund_packages.fund_package_code = bodyRequest.code); NF = 1
- - charge = feeRate = find for fee in fund_package_fee_setup.fee_amount (with range from fund_package_fee_setup.amount_min between fund_package_fee_setup.amount_max with fund_package_fee_setup.transaction_type_id = 1/3; join fund_package_fee_setup = fund_packages.fund_package_id; where fund_packages.fund_package_code = bodyRequest.code); NF = 0
- - amount = bodyRequest.transactionAmount (formating to ==> using dot (.) as thousand separator and using comma (,) as decimal point ); NF = 1
- - sourceacct = settlement_accounts.settlement_account_no (where settlement_accounts.settlement_account_id = bodyRequest.settlementAccountId); NF = 1
- - tncflag = Ya (hardcoded); NF = 0
- - tncriskflag = Ya (hardcoded); NF = 0
- - trxreason = kyc.investment_purpose(from table kyc compare to valid token); NF = 0
- - trxdate = bodyRequest.trxDate (format : dd/MM/yyyy hh:mm:ss tt); NF = 1
- - purpose = Pembelian Reksadana (hardcoded); NF = 1
- 2. timestamp --> yyyyMMddHHmm
- 3. sequencenumber --> 6014+CIFNO(token = join kyc.customer_id; put kyc.portalcif)+HHmmss
- 4. referencenumber --> yyyyMMddHHmm+6014+CIFNO (token = join kyc.customer_id; put kyc.portalcif)+HHmmss
- Sample Body Request:
- {
- "auditlog" : "7C5407E7-4D86-4BB4-B1E1-00A2B90AF364;113564201;id;ref_no=12345678901234567890=1|dscp==0|amt=100000.12=1|ccy=IDR=1|unit=0=0|source=007072008391=0|destination=Manulife Obligasi Negara Indonesia II=0|status=true=0|reason=test=0|template_cd=TC35642_01=1|formattemplate=__child_trx_hist_det=1;productname=Manulife Obligasi Negara Indonesia II=1|productcode=12=0|producttype=Reksa Dana Saham=0|fundmanager=PT. Manulife Aset Manajemen Indonesia=0|ccy=IDR=1|charge=1,00=0|amount=100.000,00=1|sourceacct=007072008390=1|tncflag=Ya=0|tncriskflag=Ya=0|trxreason=Invest=0|trxdate=01/01/2019 11:15:22 AM=1|purpose=Pembelian Reksadana=1",
- "timestamp":"201828091520",
- "sequencenumber":"60140001132894152011",
- "referencenumber":"20182809152060140001132894152011"
- }
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramSubsAT'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/responseSubsAT'
- '500':
- description: internal server error
- /transaction/redemption:
- post:
- tags:
- - TRX
- summary: Redemption
- operationId: trxRedeem
- description: |
- Mapping to API Avantrade :
- API URI = avantradeapi/services/transaction/redemption (POST)
- body request :
- 1. productId = ut_products.at_product_id (join with ut_products.product_id= ut_products; join with fund_packages_products.ut_products_id = fund_packages.fund_package_id ; join with investment_accounts.fund_packages_id = fund_packages.fund_package_id)
- 2. transactionAmount = 0
- 3. feeAmount = 0
- 4. feeRate = find for fee in fund_package_fee_setup.fee_amount (with range from fund_package_fee_setup.amount_min between fund_package_fee_setup.amount_max with fund_package_fee_setup.transaction_type_id = 2
- 5. transactionDate = dd-MMM-yyyy
- 6. settlementAccountId = settlement_accounts.at_settlement_account_id (from bodyRequest.settlementAccountId ; join with bodyRequest.settlementAccountId = settlement_accounts.settlement_account_id; should be verified with token join to kyc.customer_id = settlement_accounts.kycs_id)
- 7. fundSourceId = kyc.source_of_income (from token compare to kyc.customer_id)
- 8. customerId = kyc.at_customer_id
- 9. investmentAccountId = investment_accounts.at_investment_account_id (from token at body request compare to kyc.customer_id join with investment_accounts.kycs_id && packageId at body request compare investment_accounts.fund_paackages_id).
- 10. orderNumber = generate by system (like in invisee OyymmddXXXXX)
- 11. transactionNumber = generate by system (like in invisee RyymmddXXXXX)
- 12. redemptionUnit = unit from body request if redemptionType <> ALL.
- 13. redemptionType = body request.redemptType (ALL / null)
- Logic :
- 1. tempVar bodyRequestUnit= body unit
- 2. cari data response menggunakan looping angka dicompare dengan reponse sequnece; bandingkan dengan bodyRequestUnit ; bodyRequestUnit != 0
- Lakukan looping dengan sampai bodyRequestUnit = 0
- a. Apakah bodyRequestUnit= >= remainUnit
- a.1 bodyRequestUnit= bodyRequestUnit-remainUnit
- a.2 get fund_package_fee_setup.fee_amount (dengan kriteria = getDate(now)-response.transactionDate)
- b. Apakah bodyRequestUnit= < remainUnit
- b.1 get fund_package_fee_setup.fee_amount (dengan kriteria : getDate(now)-response.transactionDate).
- subTotal = subTotal + (remainUnit[x] * fund_package_fee_setup.fee_amount)
- b.2 bodyRequestUnit= bodyRequestUnit-bodyRequestUnit
- End Loop
- 3. tempVar = subTotal / body unit
- 4. Create Trx redeem
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramRedeem'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/responseRedeem'
- '500':
- description: internal server error
- /transaction/switching:
- post:
- tags:
- - TRX
- summary: Switching
- operationId: trxSwitch
- description: |
- Mapping to API Avantrade :
- API URI = avantradeapi/services/transaction/switching (POST)
- body request :
- 1. customerId = kyc.at_customer_id
- 2. transactionDate = dd-MMM-yyyy
- 3. investmentAccountId = investment_accounts.at_investment_account_id (from token at body request compare to kyc.customer_id join with investment_accounts.kycs_id && packageId at body request compare investment_accounts.fund_paackages_id)
- 4. fromProductId = ut_products.at_product_id (join with fund_packages_products.ut_products_id ; join with fund_package_product_id;join with investment_accounts.fund_packages_id)
- 5. toProductId = ut_products.at_product_id ( join with fund_packages_products.ut_products_id ; join with fund_package_product_id)
- 6. switchingUnit = body request.unit
- 7. feeRate = find for fee in fund_package_fee_setup.fee_amount (with range from fund_package_fee_setup.amount_min between fund_package_fee_setup.amount_max with fund_package_fee_setup.transaction_type_id = 203)
- 8. feeAmount = 0
- 9. settlementAccountId = settlement_accounts.at_settlement_account_id (from bodyRequest.settlementAccountId ; join with bodyRequest.settlementAccountId = settlement_accounts.settlement_account_id; should be verified with token join to kyc.customer_id = settlement_accounts.kycs_id)
- 10. orderNumber = generate by system (like in invisee OyymmddXXXXX)
- 11. transactionNumberFrom = generate by middle office (SOxxxxxxxx)
- 12. transactionNumberTo = generate by middle office (SIxxxxxxxx)
- 13. switchingType = body request.switchType (0 = All; -1 = Partial Amount; 1 = Partial Unit)
- Logic :
- 1. tempVar bodyRequestUnit= body unit
- 2. cari data response menggunakan looping angka dicompare dengan reponse sequnece; bandingkan dengan bodyRequestUnit ; bodyRequestUnit != 0
- Lakukan looping dengan sampai bodyRequestUnit = 0
- a. Apakah bodyRequestUnit= >= remainUnit
- a.1 bodyRequestUnit= bodyRequestUnit-remainUnit
- a.2 get fund_package_fee_setup.fee_amount (dengan kriteria = getDate(now)-response.transactionDate)
- b. Apakah bodyRequestUnit= < remainUnit
- b.1 get fund_package_fee_setup.fee_amount (dengan kriteria : getDate(now)-response.transactionDate).
- subTotal = subTotal + (remainUnit[x] * fund_package_fee_setup.fee_amount)
- b.2 bodyRequestUnit= bodyRequestUnit-bodyRequestUnit
- End Loop
- 3. tempVar = subTotal / body unit
- 4. Create Trx Switching
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/paramSwitch'
- responses:
- '200':
- description: load success
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/responseSwitch'
- '500':
- description: internal server error
- /ManualSync/updateSwitchProductList:
- get:
- tags:
- - MANUAL SYNC
- summary: sync white list of product list
- operationId: syncHoliday
- description: |
- Sync switching list insert into switching_mapping
- API Avantrade :
- avantradeapi/services/foundation/switchProduct
- Mapping :
- - product_in_id = fund_packages.fund_package_id (join with fund_package_products.ut_products_id = response.atProductIn)
- - at_product_id_in = response.atProductInd
- - product_out_id = fund_packages.fund_package_id (join with fund_package_products.ut_products_id = response.atProductOut)
- - row_status = t
- - at_product_id_out = response.atProductOut
- parameters:
- - in: query
- name: token
- description: pass valid token for inquiry
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- required: true
- schema:
- type: string
- responses:
- '200':
- description: Customer list successfully loaded
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/responseSwitchSync'
- '400':
- description: failed to load
- components:
- schemas:
- paramGetListProduct:
- type: object
- required:
- - token
- properties:
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- responseProductList:
- type: object
- required:
- - code
- - info
- - data
- - ReferrenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package list successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseProductListDetail'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseProductListDetail:
- type: object
- required:
- - type_code
- - package_type
- - package_list
- properties:
- type_code:
- type: string
- example: "MM"
- package_type:
- type: string
- example: "Reksa Dana Pasar Uang"
- package_list:
- type: array
- items:
- $ref: '#/components/schemas/responseProductListDetail2'
- responseProductListDetail2:
- type: object
- required:
- - last_nav_date
- - image
- - last_nav
- - code
- - perf_oneyear
- - name
- - id
- - total_fund
- - recommended
- - prospectus_file
- - fact_sheet_file
- properties:
- last_nav_date:
- type: string
- format: date
- example: "2015-04-20"
- image:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- last_nav:
- type: string
- example: 12467.0
- code:
- type: integer
- format: int32
- example: 14
- perf_oneyear:
- type: string
- example: 0.027443547057853963
- name:
- type: string
- example: "SAHAM DANA"
- id:
- type: integer
- format: int32
- example: 185
- total_fund:
- type: integer
- format: int32
- example: 1
- recommended:
- type: boolean
- example: false
- prospectus_file:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- fact_sheet_file:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- responseProductCategory:
- type: object
- required:
- - code
- - info
- - data
- - ReferrenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package category successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseProductCategoryDetail'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseProductCategoryDetail:
- type: object
- required:
- - id
- - code
- - category_name
- properties:
- id:
- type: integer
- format: int32
- example: 96
- code:
- type: string
- example: "BAL"
- category_name:
- type: string
- example: "Reksa Dana Campuran"
- paramGetListProductDetail:
- type: object
- required:
- - token
- - code
- properties:
- code:
- type: string
- example: "MANDIRI118"
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- responseProductDetail:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package detail successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseProductDetailing'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseProductDetailing:
- type: object
- required:
- - perf_oneyear
- - last_nav_date
- - last_nav
- - prospectus_file
- - fact_sheet_file
- - description
- - minimal_subscribe
- - minimal_topup
- - transaction_cut_off
- - settlement_cut_off
- - settlement_period
- - image
- - code
- - package_type
- - risk_level
- - name
- - effective_date
- - bank_name
- - currency
- - bank_logo
- - type_code
- properties:
- perf_oneyear:
- type: string
- example: 0.027443547057853963
- last_nav_date:
- type: string
- format: date
- example: "2015-04-20"
- last_nav:
- type: string
- example: 12467.0
- prospectus_file:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- fact_sheet_file:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- description:
- type: string
- example: "Packages ini merupakan packages dari MI Danareksa"
- minimal_subscribe:
- type: string
- example: 1000000.0
- minimal_topup:
- type: string
- example: 1000000.0
- transaction_cut_off:
- type: string
- example: "13:00:00"
- settlement_cut_off:
- type: string
- example: "15:00:00"
- settlement_period:
- type: integer
- format: int32
- example: 1
- image:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- code:
- type: integer
- format: int32
- example: 14
- package_type:
- type: string
- example: "Reksa Dana Pasar Uang"
- risk_level:
- type: string
- example: "CON"
- name:
- type: string
- example: "SAHAM DANA"
- effective_date:
- type: string
- format: date
- example: "2015-04-01"
- bank_name:
- type: string
- example: "BANK CIMB NIAGA, PT, TBK"
- currency:
- type: string
- example: "IDR"
- bank_logo:
- type: string
- example: null
- type_code:
- type: string
- example: "MM"
- responseProductNAV:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package detail NAV successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseProductNAVDetail'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseProductNAVDetail:
- type: object
- required:
- - price_date
- - nav
- properties:
- price_date:
- type: string
- format: date
- example: "2019-04-11"
- nav:
- type: string
- format: date
- example: 2577.9482
- responseSubsFee:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package subscription fee successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseSubsFeeDetail'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseSubsFeeDetail:
- type: object
- required:
- - fee
- - amount_start
- - amount_end
- properties:
- fee:
- type: string
- example: 0.0033
- amount_start:
- type: integer
- format: int32
- example: 0
- amount_end:
- type: integer
- format: int32
- example: 5000000
- responseRedeemFee:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package redemption fee successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseRedeemFeeDetail'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseRedeemFeeDetail:
- type: object
- required:
- - fee
- - period_start
- - period_end
- properties:
- fee:
- type: string
- example: 0.0033
- period_start:
- type: integer
- format: int32
- example: 0
- period_end:
- type: integer
- format: int32
- example: 30
- responseSwitchFee:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Package switching fee successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseRedeemFeeDetail'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- paramGetSettlementAcc:
- type: object
- required:
- - token
- - code
- properties:
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- code:
- type: string
- example: SYAR118
- responseGetSettlementAcc:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Settlement Accounts successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseGetSettlementAccData'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseGetSettlementAccData:
- type: object
- required:
- - packageName
- - packageId
- - stlAccountName
- - stlAccountNo
- - bankName
- - settlementAccountId
- - currency
- properties:
- packageName:
- type: string
- example: "BNP PARIBAS PESONA"
- packageId:
- type: integer
- format: int32
- example: 18
- stlAccountName:
- type: string
- example: 003525976761
- stlAccountNo:
- type: string
- example: 003525976761
- bankName:
- type: string
- example: "Bank Danamon Indonesia"
- settlementAccountId:
- type: string
- example: 3829
- currency:
- type: string
- example: IDR
- paramGetInvtAcc:
- type: object
- required:
- - token
- properties:
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- responseGetInvestmentAcc:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Settlement Accounts successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseGetInvestmentAccData'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseGetInvestmentAccData:
- type: object
- required:
- - packageName
- - packageCode
- - packageType
- - packageId
- - currency
- - totalUnit
- - investmentAccountId
- properties:
- packageName:
- type: string
- example: "BNP PARIBAS PESONA"
- packageCode:
- type: string
- example: "BNPPP"
- packageId:
- type: string
- example: "18"
- packageType:
- type: string
- example: "Reksa Dana Pasar Uang"
- currency:
- type: string
- example: "IDR"
- totalUnit:
- type: string
- example: 61374.7954
- investmentAccountId:
- type: string
- example: "INV00000929292001"
- paramRequetOtp:
- type: object
- required:
- - token
- - sessionid
- - language
- properties:
- language:
- type: string
- example: "id"
- sessionId:
- type: string
- example: "7C5407E7-4D86-4BB4-B1E1-00A2B90AF364"
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- responseRequestOTP:
- type: object
- required:
- - code
- - info
- - resultAvantrade
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Request OTP Success"
- resultAvantrade:
- type: array
- items:
- $ref: '#/components/schemas/responseRequestOTPAvan'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseRequestOTPAvan:
- type: object
- required:
- - errorcode
- - errormsg
- - result
- properties:
- errorcode:
- type: string
- example: 000000
- errormsg:
- type: string
- example: "SUCCESS"
- result:
- $ref: '#/components/schemas/responseRequestOTPAvan2'
- responseRequestOTPAvan2:
- type: object
- required:
- - issent
- properties:
- issent:
- type: boolean
- example: true
- paramValidateOtp:
- type: object
- required:
- - signature
- - sessionid
- - language
- - otp
- properties:
- language:
- type: string
- example: "id"
- otp:
- type: integer
- format: int32
- example: 12345678
- sessionId:
- type: string
- example: "7C5407E7-4D86-4BB4-B1E1-00A2B90AF364"
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- responseValidateOTP:
- type: object
- required:
- - code
- - info
- - resultAvantrade
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Validate OTP Success"
- resultAvantrade:
- type: array
- items:
- $ref: '#/components/schemas/responseValidateOTPAvan'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseValidateOTPAvan:
- type: object
- required:
- - errorcode
- - errormsg
- - result
- properties:
- errorcode:
- type: string
- example: 000000
- errormsg:
- type: string
- example: "SUCCESS"
- result:
- type: array
- items:
- $ref: '#/components/schemas/responseValidateOTPAvan2'
- responseValidateOTPAvan2:
- type: object
- required:
- - isvalid
- properties:
- issent:
- type: boolean
- example: true
- paramSubs:
- type: object
- required:
- - code
- - token
- - transactionAmount
- - settlementAccountId
- - sessionId
- - language
- properties:
- code:
- type: string
- example: MANDIRI118
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- transactionAmount:
- type: integer
- format: int32
- example: 5000000
- settlementAccountId:
- type: integer
- format: int32
- example: 3829
- sessionId:
- type: string
- example: "7C5407E7-4D86-4BB4-B1E1-00A2B90AF364"
- lanuage:
- type: string
- example: "ID"
- responseSubs:
- type: object
- required:
- - code
- - info
- - resultAvantrade
- - ReferenceNumber
- properties:
- code:
- type: string
- example: 000000
- info:
- type: string
- example: "Subscription success"
- resultAvantrade:
- type: array
- items:
- $ref: '#/components/schemas/responseSubsAvan'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- paramSubsAT:
- type: object
- required:
- - code
- - token
- - transactionAmount
- - settlementAccountId
- - sessionId
- - language
- - responseCodeSubs
- - responceInfoSubs
- - trxDate
- properties:
- code:
- type: string
- example: MANDIRI118
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- transactionAmount:
- type: integer
- format: int32
- example: 5000000
- settlementAccountId:
- type: integer
- format: int32
- example: 3829
- sessionId:
- type: string
- example: "7C5407E7-4D86-4BB4-B1E1-00A2B90AF364"
- language:
- type: string
- example: "ID"
- responseCodeSubs:
- type: string
- example: "000011"
- responceInfoSubs:
- type: string
- example: "Failed, minimum subscription amount 500000"
- trxDate:
- type: string
- example: "01/01/2019 11:15:22 AM"
- responseSubsAT:
- type: object
- required:
- - code
- - info
- - resultDOB
- - ReferenceNumber
- properties:
- code:
- type: string
- example: 000000
- info:
- type: string
- example: "Subscription success"
- resultDOB:
- type: array
- items:
- $ref: '#/components/schemas/responseSubsATAvan'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseSubsATAvan:
- type: object
- required:
- - error code
- - errorMsg
- properties:
- error code:
- type: string
- example: 000000
- errorMsg:
- type: string
- example: "SUCCESS"
- responseSubsAvan:
- type: object
- required:
- - errorcode
- - errormsg
- - result
- properties:
- errorcode:
- type: string
- example: 000000
- errormsg:
- type: string
- example: "SUCCESS"
- result:
- type: string
- example: ""
- paramRedeem:
- type: object
- required:
- - invAccId
- - unit
- - redeemType
- - settlementAccountId
- - token
- properties:
- invAccId:
- type: string
- example: "INV00000929292001"
- unit:
- type: string
- example: 700
- redeemType:
- type: integer
- format: int32
- example: 1
- settlementAccountId:
- type: integer
- format: int32
- example: 3829
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- responseRedeem:
- type: object
- required:
- - code
- - info
- - resultAvantrade
- - ReferenceNumber
- properties:
- code:
- type: string
- example: 000000
- info:
- type: string
- example: "Redemption success"
- resultAvantrade:
- type: array
- items:
- $ref: '#/components/schemas/responseRedeemAvan'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseRedeemAvan:
- type: object
- required:
- - errorcode
- - errormsg
- - result
- properties:
- errorcode:
- type: string
- example: 000000
- errormsg:
- type: string
- example: "SUCCESS"
- result:
- type: string
- example: ""
- paramSwitch:
- type: object
- required:
- - invAccId
- - fundpackageId
- - unit
- - switchType
- - token
- properties:
- invAccId:
- type: string
- example: "INV00000929292001"
- fundpackageId:
- type: string
- example: 18
- unit:
- type: string
- example: 700
- switchType:
- type: integer
- format: int32
- example: 1
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- responseSwitch:
- type: object
- required:
- - code
- - info
- - resultAvantrade
- - ReferenceNumber
- properties:
- code:
- type: string
- example: 000000
- info:
- type: string
- example: "Switching success"
- resultAvantrade:
- type: array
- items:
- $ref: '#/components/schemas/responseSwitchAvan'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseSwitchAvan:
- type: object
- required:
- - errorcode
- - errormsg
- - result
- properties:
- errorcode:
- type: string
- example: 000000
- errormsg:
- type: string
- example: "SUCCESS"
- result:
- type: string
- example: ""
- responseSwitchProduct:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "List product switch successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseSwitchProductData'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseSwitchProductData:
- type: object
- required:
- - packageId
- - name
- - packageType
- - currency
- - prospectus_file
- - fact_sheet_file
- properties:
- packageId:
- type: string
- example: 144
- name:
- type: string
- example: BNP Pasar Minggu
- packageType:
- type: string
- example: "Reksa Dana Pasar Uang"
- currency:
- type: string
- example: "IDR"
- prospectus_file:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- fact_sheet_file:
- type: string
- example: "7d805b52-856f-416a-9c31-8ba1bceb1ce5"
- responseSwitchSync:
- type: object
- required:
- - code
- - info
- properties:
- code:
- type: integer
- format: int32
- example: 0
- info:
- type: string
- example: 'sync switch product success!<br>'
- paramValidateTrx:
- type: object
- required:
- - code
- - token
- properties:
- code:
- type: string
- example: "FUNNY12"
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- responseValidateTrx:
- type: object
- required:
- - code
- - info
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000001"
- info:
- type: string
- example: "Transaksi telah melampaui cut off time, dan akan diproses pada hari kerja berikutnya"
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- paramValidateRiskProfile:
- type: object
- required:
- - token
- properties:
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- responseValidateRiskProfile:
- type: object
- required:
- - code
- - info
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000001"
- info:
- type: string
- example: "Data profil risiko Anda sudah tidak berlaku, silakan kunjungi Cabang Danamon terdekat untuk melakukan pengkinian data"
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- paramValidateRiskProfile2:
- type: object
- required:
- - token
- - code
- properties:
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- code:
- type: string
- example: "FUNNY12"
- responseValidateRiskProfile2:
- type: object
- required:
- - code
- - info
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000001"
- info:
- type: string
- example: Maaf, Anda tidak dapat melanjutkan transaksi karena Risk Profile product yang anda pilih melebihi dari Risk Profile Anda.""
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- paramValidateLimitProduct:
- type: object
- required:
- - token
- - code
- - amount
- properties:
- code:
- type: string
- example: "FUNNY12"
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- Amount:
- type: integer
- format: int32
- example: 50000
- responseValidateLimitProduct:
- type: object
- required:
- - code
- - info
- - ReferenceNumber
- properties:
- code:
- type: integer
- format: int32
- example: 1
- info:
- type: string
- example: "Minimum transaksi adalah fund_packages.currency<<space>> fund_packages.min_subscription_amount"
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- paramDownloadFile:
- type: object
- required:
- - token
- - key
- properties:
- key:
- type: string
- example: "c03c8067-b141-4825-ae37-b68853f48ece"
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- responseDownloadFile:
- type: object
- required:
- - binnary file
- properties:
- file:
- type: string
- example: "<<binnary file>>"
- paramGetCustomerProfile:
- type: object
- required:
- - token
- properties:
- token:
- type: string
- example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
- responseGetCustomerProfile:
- type: object
- required:
- - customer_id
- - customer_risk_profile.code
- - customer_risk_profile.value
- - customer_document.id_card_image
- - customer_document.signature_image
- - customer_status
- - customer_data.general.last_name
- - customer_data.general.phone_number
- - customer_data.general.first_name
- - kyc.settlement_account_no
- - kyc.id_number
- - kyc.total_asset
- - kyc.occupation
- - kyc.gender
- - kyc.id_expiration
- - kyc.birth_date
- - kyc.income_source
- - kyc.birth_place
- - kyc.investment_purpose
- - kyc.education_background
- - kyc.business_nature
- - kyc.mailing.country
- - kyc.mailing.address
- - kyc.mailing.province
- - kyc.mailing.city
- - kyc.mailing.phone
- - kyc.mailing.postal_code
- - kyc.mother_maiden_name
- - kyc.religion
- - kyc. marital_status
- - kyc.nationality
- - kyc.investment_experience
- - kyc.settlement_bank
- - kyc.legal.country
- - kyc.legal.province
- - kyc.legal.city
- - kyc.legal.phone
- - kyc.legal.postal_code
- - kyc.settlement_account_name
- - kyc.statement_type
- - risk_profile.question
- - risk_profile.answer
- - fatca.question
- - fatca.answer
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "Customer profile successfully loaded"
- data:
- $ref: '#/components/schemas/responseGetCustomerProfile2'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseGetCustomerProfile2:
- type: object
- properties:
- customer_id:
- type: integer
- format: int32
- example: C1703000000
- customer_risk_profile:
- $ref: '#/components/schemas/responseGetCustomerProfile3'
- customer_document:
- $ref: '#/components/schemas/responseGetCustomerProfile4'
- customer_status:
- type: string
- example: ACT
- customer_data:
- $ref: '#/components/schemas/responseGetCustomerProfile5'
- kyc:
- $ref: '#/components/schemas/responseGetCustomerProfile6'
- responseGetCustomerProfile3:
- type: object
- properties:
- code:
- type: string
- example: CON
- value:
- type: string
- example: Conservative
- responseGetCustomerProfile4:
- type: object
- properties:
- id_card_image:
- type: string
- example: ""
- signature_image:
- type: string
- example: ""
- responseGetCustomerProfile5:
- type: object
- properties:
- general:
- $ref: '#/components/schemas/responseGetCustomerProfile5.1'
- responseGetCustomerProfile5.1:
- type: object
- properties:
- last_name:
- type: string
- example: "Dermawan 2"
- phone_number:
- type: string
- example: "62-81234567890"
- first_name:
- type: string
- example: "Leo T"
- responseGetCustomerProfile6:
- type: object
- properties:
- settlement_account_no:
- type: string
- example: "1234560"
- id_number:
- type: string
- example: "12345678909"
- total_asset:
- type: string
- example: "TA01"
- occupation:
- type: string
- example: "8"
- gender:
- type: string
- example: "ML"
- id_expiration:
- type: string
- example: "2099-12-31T00:00:00,0Z"
- birth_date:
- type: string
- example: "694112400000"
- income_source:
- type: string
- example: "OTH"
- birth_place:
- type: string
- example: "Jakarta"
- investment_purpose:
- type: string
- example: "OTH"
- education_background:
- type: string
- example: "DIP"
- business_nature:
- type: string
- example: "10"
- mailing:
- $ref: '#/components/schemas/responseGetCustomerProfile6.1'
- mother_maiden_name:
- type: string
- example: "lulu"
- marital_status:
- type: string
- example: "MRD"
- nationality:
- type: string
- example: "SPM"
- investment_experience:
- type: string
- example: "IE03"
- settlement_bank:
- type: string
- example: "BCA"
- settlement_account_name:
- type: string
- example: "Customer test 2"
- statement_type:
- type: string
- example: "1"
- legal:
- $ref: '#/components/schemas/responseGetCustomerProfile6.2'
- risk_profile:
- type: array
- items:
- $ref: '#/components/schemas/responseGetCustomerProfile6.3'
- fatca:
- type: array
- items:
- $ref: '#/components/schemas/responseGetCustomerProfile6.4'
- responseGetCustomerProfile6.1:
- type: object
- properties:
- country:
- type: string
- example: "IDN"
- address:
- type: string
- example: "Tangerang"
- province:
- type: string
- example: "ID-GO"
- city:
- type: string
- example: "1173"
- phone:
- type: string
- example: "62-21-1234567890"
- postal_code:
- type: string
- example: "1234560"
- responseGetCustomerProfile6.2:
- type: object
- properties:
- country:
- type: string
- example: "SPM"
- address:
- type: string
- example: "Kantor"
- province:
- type: string
- example: "ID-JA"
- city:
- type: string
- example: "1102"
- phone:
- type: string
- example: "62-21-123456789"
- postal_code:
- type: string
- example: "1234560"
- responseGetCustomerProfile6.3:
- type: object
- properties:
- question:
- type: string
- example: "Q1"
- answer:
- type: string
- example: "[Q1A2]"
- responseGetCustomerProfile6.4:
- type: object
- properties:
- question:
- type: string
- example: "Q10"
- answer:
- type: string
- example: "[Q10A1]"
- paramGetInvestmentPurpose:
- type: object
- required:
- - token
- properties:
- token:
- type: string
- example: "cf531b5db5f9b3b427eeeda867cc1141b5edfb6e68e8599f45196e8e5675e903e38d13f114b86151c8549ba8d12b055b"
- responseGetInvestmentPurpose:
- type: object
- required:
- - code
- - info
- - data
- - ReferenceNumber
- properties:
- code:
- type: string
- example: "000000"
- info:
- type: string
- example: "List investment purposes successfully loaded"
- data:
- type: array
- items:
- $ref: '#/components/schemas/responseGetInvestmentPurposeData'
- ReferenceNumber:
- type: string
- example: "<<based on param header from middleware>>"
- responseGetInvestmentPurposeData:
- type: object
- required:
- - code
- - value
- properties:
- code:
- type: string
- example: "SVG"
- value:
- type: string
- example: "Saving"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement