-
Notifications
You must be signed in to change notification settings - Fork 0
/
distributor-api.json
1 lines (1 loc) · 116 KB
/
distributor-api.json
1
{"openapi":"3.0.3","info":{"title":"XFT Distributor API","version":"v0"},"paths":{"/client-credentials/":{"post":{"operationId":"createClientCredentials","tags":["Client credentials"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"clientSecret":{"type":"string","description":"a string"}},"required":["clientId","clientSecret"]}}}}}}},"/client-credentials/all":{"get":{"operationId":"listClientCredentials","tags":["Client credentials"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"creatorEmail":{"type":"string","description":"A valid Email address","pattern":"^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["id","creatorEmail","createdAt"]}}}}}}}},"/client-credentials/{clientId}":{"delete":{"operationId":"deleteClientCredentials","tags":["Client credentials"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"null"}}}}},"parameters":[{"name":"clientId","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}]}},"/distributors/me":{"get":{"operationId":"getDistributor","tags":["Distributors"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string","description":"a non empty string","minLength":1},"email":{"type":"string","description":"A valid Email address","pattern":"^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"}},"required":["id","name","email"]}}}}},"description":"get info about current distributor (associated to the used client credentials / cookie session)","summary":"Get distributor info"}},"/bank-accounts/":{"post":{"operationId":"addBankAccount","tags":["Bank accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["validated"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","investorId","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","investorId","accountNumber","bic"]}]}}},"required":true},"description":"Add a bank account linked to an investor for a currency and return the whole bank account info","summary":"Add bank account"},"get":{"operationId":"getBankAccounts","tags":["Bank accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string","enum":["validated"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId"]}}}}}},"parameters":[{"name":"investorId","in":"query","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"},{"name":"currency","in":"query","schema":{"type":"string","enum":["EUR","USD","GBP","CHF","JPY","SGD","___"]},"required":true}],"description":"Get list of bank account's infos of an investor (IBAN / BIC) for the requested currency","summary":"Get bank accounts of an investor for the requested currency"}},"/bank-accounts/{bankAccountId}":{"get":{"operationId":"getBankAccountByBankAccountId","tags":["Bank accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending-validation"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId"]},{"type":"object","properties":{"status":{"type":"string","enum":["validated"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId"]},{"type":"object","properties":{"status":{"type":"string","enum":["invalidated"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true},"invalidationReason":{"type":"string","description":"a string","nullable":true}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId","invalidationReason"]},{"type":"object","properties":{"status":{"type":"string","enum":["archived"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId"]}]}}}}},"parameters":[{"name":"bankAccountId","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Get info of a bank account (currency / IBAN / BIC)","summary":"Get bank account"},"delete":{"operationId":"archiveBankAccount","tags":["Bank accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["archived"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"accountNumber":{"type":"string","description":"A valid IBAN"},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]},{"type":"object","properties":{"currency":{"type":"string","enum":["USD"]},"accountNumber":{"oneOf":[{"type":"string","description":"A valid IBAN"},{"type":"string","description":"A valid US Bank Account Number","pattern":"^[0-9A-Z]{8,40}$"}]},"bic":{"type":"string","description":"A valid BIC"}},"required":["currency","accountNumber","bic"]}]},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"name":{"type":"string","description":"a string at most 255 character(s) long","minLength":1,"maxLength":255,"nullable":true},"proofInvestorDocumentId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","investorId","details","createdAt","name","proofInvestorDocumentId"]}}}}},"parameters":[{"name":"bankAccountId","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Archive a bank account and return the whole bank account info","summary":"Archive bank account"}},"/investors/{id}":{"get":{"operationId":"getInvestorById","tags":["Investors"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending-onboarding-workflow"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","id","distributorId","createdOn","updatedOn"]},{"type":"object","properties":{"status":{"type":"string","enum":["non-compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]},{"type":"object","properties":{"status":{"type":"string","enum":["compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]}]}}}}},"parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Get info about the investor including their compliance status","summary":"Get investor info"},"put":{"operationId":"updateInvestor","tags":["Investors"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending-onboarding-workflow"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","id","distributorId","createdOn","updatedOn"]},{"type":"object","properties":{"status":{"type":"string","enum":["non-compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]},{"type":"object","properties":{"status":{"type":"string","enum":["compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]}]}}}}},"parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"complianceChange":{"type":"object","properties":{"status":{"type":"string","enum":["compliant","non-compliant"]},"reason":{"type":"string","description":"a non empty string","minLength":1}},"required":["status","reason"]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"city":{"type":"string","description":"a non empty string","minLength":1},"zipCode":{"type":"string","description":"a non empty string","minLength":1},"address":{"type":"string","description":"a non empty string","minLength":1},"details":{"oneOf":[{"type":"object","properties":{"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["countryOfTaxResidence"]},{"type":"object","properties":{"legalName":{"type":"string","description":"a non empty string","minLength":1},"legalType":{"type":"string","description":"a non empty string","minLength":1},"registrationNumber":{"type":"string","description":"a non empty string","minLength":1}},"required":["legalName","legalType","registrationNumber"]}]}}}}},"required":true},"description":"Update info / compliance status of an investor and return the whole investor info","summary":"Update investor"}},"/investors/":{"get":{"operationId":"getAllInvestors","tags":["Investors"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending-onboarding-workflow"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","id","distributorId","createdOn","updatedOn"]},{"type":"object","properties":{"status":{"type":"string","enum":["non-compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]},{"type":"object","properties":{"status":{"type":"string","enum":["compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]}]}}}}}},"description":"Get infos about all the investors including their compliance status","summary":"Get all investors' infos"},"post":{"operationId":"createInvestor","tags":["Investors"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["compliant"]},"firstName":{"type":"string","description":"a string"},"lastName":{"type":"string","description":"a string"},"city":{"type":"string","description":"a string"},"zipCode":{"type":"string","description":"a string"},"address":{"type":"string","description":"a string"},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"distributorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"createdOn":{"type":"string","description":"a valid Date","format":"date-time"},"updatedOn":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","firstName","lastName","city","zipCode","address","id","distributorId","details","country","createdOn","updatedOn"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string","description":"a non empty string","minLength":1},"lastName":{"type":"string","description":"a non empty string","minLength":1},"details":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["individual"]},"countryOfTaxResidence":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]}},"required":["type","countryOfTaxResidence"]},{"type":"object","properties":{"type":{"type":"string","enum":["organization"]},"legalName":{"type":"string","description":"a string"},"legalEntityType":{"type":"string","description":"a string"},"registrationNumber":{"type":"string","description":"a string"}},"required":["type","legalName","legalEntityType","registrationNumber"]}]},"country":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},"city":{"type":"string","description":"a non empty string","minLength":1},"zipCode":{"type":"string","description":"a non empty string","minLength":1},"address":{"type":"string","description":"a non empty string","minLength":1},"dateOfBirth":{"type":"string","description":"a valid Date","format":"date-time"},"placeOfBirth":{"type":"string","description":"a non empty string","minLength":1}},"required":["firstName","lastName","details","country","city","zipCode","address","dateOfBirth","placeOfBirth"]}}},"required":true},"description":"Create a new investor and return the whole investor info","summary":"Create investor"}},"/ethereum-accounts/{address}":{"get":{"operationId":"getEthereumAccount","tags":["Ethereum accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"_tag":{"type":"string","enum":["None"]}},"required":["_tag"],"description":"NoneEncoded"},{"type":"object","properties":{"_tag":{"type":"string","enum":["Some"]},"value":{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"address":{"type":"string","description":"A valid Ethereum address"},"whitelistedChainIds":{"type":"array","items":{"type":"number","enum":[1,11155111,137,80002,84532]}}},"required":["investorId","address","whitelistedChainIds"]}},"required":["_tag","value"],"description":"SomeEncoded<{ readonly investorId: UUID; readonly address: EthereumAddress & Brand<\"EthereumAddress\">; readonly whitelistedChainIds: ReadonlyArray<<enum 5 value(s): 0 | 1 | 2 | 3 | 4>> }>"}],"description":"OptionEncoded<{ readonly investorId: UUID; readonly address: EthereumAddress & Brand<\"EthereumAddress\">; readonly whitelistedChainIds: ReadonlyArray<<enum 5 value(s): 0 | 1 | 2 | 3 | 4>> }>"}}}}},"parameters":[{"name":"address","in":"path","schema":{"type":"string","description":"A valid Ethereum address"},"required":true,"description":"A valid Ethereum address"}],"description":"Get associated investor and whitelisted chains of an Ethereum address","summary":"Get Ethereum account"}},"/ethereum-accounts/":{"get":{"operationId":"getEthereumAccounts","tags":["Ethereum accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"address":{"type":"string","description":"A valid Ethereum address"},"whitelistedChainIds":{"type":"array","items":{"type":"number","enum":[1,11155111,137,80002,84532]}}},"required":["investorId","address","whitelistedChainIds"]}}}}}},"parameters":[{"name":"investorId","in":"query","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Get wallet addresses of an investor and the chains where they have been whitelisted","summary":"Get Ethereum accounts"},"post":{"operationId":"setEthereumAccount","tags":["Ethereum accounts"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"address":{"type":"string","description":"A valid Ethereum address"},"whitelistedChainIds":{"type":"array","items":{"type":"number","enum":[1,11155111,137,80002,84532]}}},"required":["investorId","address","whitelistedChainIds"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"address":{"type":"string","description":"A valid Ethereum address"},"chainIds":{"type":"array","minItems":1,"items":{"type":"number","enum":[1,11155111,137,80002,84532]}}},"required":["investorId","address","chainIds"]}}},"required":true},"description":"Whitelists an address for an investor on the required chains","summary":"Set Ethereum account"}},"/portfolios/{investorId}":{"get":{"operationId":"getPortfolio","tags":["Portfolios"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"isCustodialWallet":{"type":"boolean","description":"a boolean"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"walletAddress":{"type":"string","description":"A valid Ethereum address"},"totalNumberOfShares":{"type":"string","description":"a string"},"currentValue":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["isCustodialWallet","shareClassId","chainId","walletAddress","totalNumberOfShares","currentValue"]}},"totalGainSinceStart":{"type":"array","items":{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"totalGainAmount":{"$ref":"#/components/schemas/Amount"}},"required":["investorId","shareClassId","totalGainAmount"]}}},"required":["items","totalGainSinceStart"]}}}}},"parameters":[{"name":"investorId","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Get portfolio composition of an investor including the current value of their assets","summary":"Get portfolio"}},"/subscription-orders/":{"post":{"operationId":"createSubscriptionOrder","tags":["Subscription orders"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["pending-wire"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"wireDestinationIBAN":{"type":"string","description":"A valid IBAN"},"wireDestinationBIC":{"type":"string","description":"A valid BIC"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","wireDestinationIBAN","wireDestinationBIC"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]}},"required":["investorId","amount","shareClassId","investorAddress","chainId"]},{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["investorId","amount","shareClassId"]}]}}},"required":true},"description":"Create a new subscription order for an investor and return the whole order info","summary":"Create subscription order"},"get":{"operationId":"getSubscriptionOrders","tags":["Subscription orders"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending-wire"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId"]},{"type":"object","properties":{"status":{"type":"string","enum":["canceled"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"canceledByType":{"type":"string","enum":["investor","admin"]},"canceledBy":{"oneOf":[{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}]},"canceledAt":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","canceledByType","canceledBy","canceledAt"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-valuation"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"wireReceivedOn":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedBy":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","wireReceivedOn","wireValidatedAt","wireValidatedBy"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-execution"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"sharesAmount":{"type":"string","description":"a string"},"wireReceivedOn":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedBy":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","applicableNAV","sharesAmount","wireReceivedOn","wireValidatedAt","wireValidatedBy"]},{"type":"object","properties":{"status":{"type":"string","enum":["executed"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"sharesAmount":{"type":"string","description":"a string"},"wireReceivedOn":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedBy":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"confirmedAt":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","applicableNAV","sharesAmount","wireReceivedOn","wireValidatedAt","wireValidatedBy","blockchainTransactionHash","confirmedAt"]}]}}}}}},"parameters":[{"name":"investorId","in":"query","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"},{"name":"shareClassId","in":"query","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"a Universally Unique Identifier"},{"name":"page","in":"query","schema":{"type":"integer","description":"a positive number","exclusiveMinimum":true,"minimum":0},"description":"a positive number"},{"name":"limit","in":"query","schema":{"type":"integer","description":"a positive number","exclusiveMinimum":true,"minimum":0},"description":"a positive number"}],"description":"Get paginated list of an investor's subscription orders ordered by latest creation date","summary":"Get subscription orders"}},"/subscription-orders/{subscriptionOrderId}":{"get":{"operationId":"getSubscriptionOrder","tags":["Subscription orders"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending-wire"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId"]},{"type":"object","properties":{"status":{"type":"string","enum":["canceled"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"canceledByType":{"type":"string","enum":["investor","admin"]},"canceledBy":{"oneOf":[{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}]},"canceledAt":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","canceledByType","canceledBy","canceledAt"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-valuation"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"wireReceivedOn":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedBy":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","wireReceivedOn","wireValidatedAt","wireValidatedBy"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-execution"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"sharesAmount":{"type":"string","description":"a string"},"wireReceivedOn":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedBy":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","applicableNAV","sharesAmount","wireReceivedOn","wireValidatedAt","wireValidatedBy"]},{"type":"object","properties":{"status":{"type":"string","enum":["executed"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"wireReference":{"type":"string","description":"a wire reference","pattern":"^[0-9A-Z]{5,15}$"},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"sharesAmount":{"type":"string","description":"a string"},"wireReceivedOn":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"wireValidatedBy":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"confirmedAt":{"type":"string","description":"a valid Date","format":"date-time"}},"required":["status","id","investorAddress","investorId","amount","shareClassId","wireReference","createdAt","chainId","applicableNAV","sharesAmount","wireReceivedOn","wireValidatedAt","wireValidatedBy","blockchainTransactionHash","confirmedAt"]}]}}}}},"parameters":[{"name":"subscriptionOrderId","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Get info of a subscription order including its execution status","summary":"Get subscription order"}},"/redemption-orders/":{"post":{"operationId":"createRedemptionOrder","tags":["Redemption orders"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["created-on-app"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["created-on-chain"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","initiatedAt","initiatedTransactionHash"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-valuation"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-execution"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","applicableNAV","amount","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["executed"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"confirmedAt":{"type":"string","description":"a valid Date","format":"date-time"},"executedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"wireOrderedOn":{"type":"string","description":"a valid Date","format":"date-time"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","applicableNAV","amount","confirmedAt","executedTransactionHash","wireOrderedOn","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["canceled"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId"]}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["investorId","bankAccountId","sharesAmount","shareClassId"]}}},"required":true},"description":"Create a new redemption order for an investor and return the whole order info","summary":"Create redemption order"},"get":{"operationId":"getRedemptionOrders","tags":["Redemption orders"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["created-on-app"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["created-on-chain"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","initiatedAt","initiatedTransactionHash"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-valuation"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-execution"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","applicableNAV","amount","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["executed"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"confirmedAt":{"type":"string","description":"a valid Date","format":"date-time"},"executedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"wireOrderedOn":{"type":"string","description":"a valid Date","format":"date-time"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","applicableNAV","amount","confirmedAt","executedTransactionHash","wireOrderedOn","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["canceled"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId"]}]}}}}}},"parameters":[{"name":"investorId","in":"query","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"},{"name":"shareClassId","in":"query","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"a Universally Unique Identifier"},{"name":"page","in":"query","schema":{"type":"integer","description":"a positive number","exclusiveMinimum":true,"minimum":0},"description":"a positive number"},{"name":"limit","in":"query","schema":{"type":"integer","description":"a positive number","exclusiveMinimum":true,"minimum":0},"description":"a positive number"}],"description":"Get paginated list of an investor's redemption orders ordered by latest creation date","summary":"Get redemption orders"}},"/redemption-orders/{redemptionOrderId}":{"get":{"operationId":"getRedemptionOrder","tags":["Redemption orders"],"responses":{"200":{"description":"Response 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["created-on-app"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["created-on-chain"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","initiatedAt","initiatedTransactionHash"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-valuation"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","nullable":true}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["pending-execution"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","applicableNAV","amount","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["executed"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"initiatedAt":{"type":"string","description":"a valid Date","format":"date-time"},"initiatedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"applicableNAV":{"type":"object","properties":{"day":{"type":"string","description":"a valid Date","format":"date-time"},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"}},"required":["day","amount"]},"amount":{"$ref":"#/components/schemas/NonNegativeAmount"},"confirmedAt":{"type":"string","description":"a valid Date","format":"date-time"},"executedTransactionHash":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"wireOrderedOn":{"type":"string","description":"a valid Date","format":"date-time"},"bankAccountId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId","initiatedAt","initiatedTransactionHash","applicableNAV","amount","confirmedAt","executedTransactionHash","wireOrderedOn","bankAccountId"]},{"type":"object","properties":{"status":{"type":"string","enum":["canceled"]},"id":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"blockchainId":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"investorAddress":{"type":"string","description":"A valid Ethereum address"},"outputTokenAddress":{"type":"string","description":"A valid Ethereum address"},"sharesAmount":{"type":"string","description":"a string"},"shareClassId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"chainId":{"type":"number","enum":[1,11155111,137,80002,84532]},"salt":{"type":"string","description":"A valid Ethereum transaction hash","pattern":"^0x","minLength":66,"maxLength":66},"createdAt":{"type":"string","description":"a valid Date","format":"date-time"},"investorId":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["status","id","blockchainId","investorAddress","outputTokenAddress","sharesAmount","shareClassId","chainId","salt","createdAt","investorId"]}]}}}}},"parameters":[{"name":"redemptionOrderId","in":"path","schema":{"type":"string","description":"a Universally Unique Identifier","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"description":"a Universally Unique Identifier"}],"description":"Get info of a redemption order including its execution status","summary":"Get redemption order"}}},"tags":[{"name":"Client credentials"},{"name":"Distributors"},{"name":"Bank accounts"},{"name":"Investors"},{"name":"Ethereum accounts"},{"name":"Portfolios"},{"name":"Subscription orders"},{"name":"Redemption orders"}],"servers":[{"url":"https://distributor-api.XFT.finance/v0"}],"components":{"schemas":{"Amount":{"type":"object","properties":{"value":{"type":"string","description":"a string"},"currency":{"type":"string","enum":["EUR","USD","GBP","CHF","JPY","SGD","___"]}},"required":["value","currency"]},"NonNegativeAmount":{"type":"object","properties":{"value":{"type":"string","description":"a non-negative BigDecimal"},"currency":{"type":"string","enum":["EUR","USD","GBP","CHF","JPY","SGD","___"]}},"required":["value","currency"]}}}}