diff --git a/config/v3/document_upload/send.json b/config/v3/document_upload/send.json index aea0aaa9f..0ca4098b0 100644 --- a/config/v3/document_upload/send.json +++ b/config/v3/document_upload/send.json @@ -51,6 +51,7 @@ "passport", "national_identity_card", "identification_number_document", + "service_id_card", "driving_licence", "utility_bill", "bankstatement", diff --git a/config/v3/kyc_auth_status/receive.json b/config/v3/kyc_auth_status/receive.json index 3621e3c45..8f870cf21 100644 --- a/config/v3/kyc_auth_status/receive.json +++ b/config/v3/kyc_auth_status/receive.json @@ -37,6 +37,13 @@ "verified", "expired" ] + }, + "supported_documents": { + "description": "Supported documents per document_type.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -132,6 +139,17 @@ } } }, + "manual": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + } + } + } + }, "onfido": { "type": "object", "additionalProperties": { @@ -175,6 +193,13 @@ "verified", "expired" ] + }, + "supported_documents": { + "description": "Supported documents per document_type.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -270,6 +295,17 @@ } } }, + "manual": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + } + } + } + }, "onfido": { "type": "object", "additionalProperties": { diff --git a/config/v3/mt5_login_list/receive.json b/config/v3/mt5_login_list/receive.json index bf2547111..380d8a794 100644 --- a/config/v3/mt5_login_list/receive.json +++ b/config/v3/mt5_login_list/receive.json @@ -203,6 +203,19 @@ "description": "Name of the owner of the MT5 account.", "type": "string" }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] + }, "rights": { "description": "Rights assigned to the MT5 account.", "type": "object", diff --git a/config/v3/mt5_new_account/receive.json b/config/v3/mt5_new_account/receive.json index c204e42e2..6900cdd90 100644 --- a/config/v3/mt5_new_account/receive.json +++ b/config/v3/mt5_new_account/receive.json @@ -64,6 +64,19 @@ "financial_stp", "standard" ] + }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] } } }, diff --git a/config/v3/mt5_new_account/send.json b/config/v3/mt5_new_account/send.json index 5ab78dc76..1c28cd9e8 100644 --- a/config/v3/mt5_new_account/send.json +++ b/config/v3/mt5_new_account/send.json @@ -38,12 +38,12 @@ "address": { "description": "[Optional] The address of the user. The maximum length of this address field is 128 characters.", "type": "string", - "pattern": "^[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,128}$" + "pattern": "^(?:[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,128})?$" }, "city": { "description": "[Optional] User's city of residence.", "type": "string", - "pattern": "^\\p{L}[\\p{L}\\s'.-]{0,99}$" + "pattern": "^(?:\\p{L}[\\p{L}\\s'.-]{0,99})?$" }, "company": { "description": "[Optional] Name of the client's company. The maximum length of the company name is 64 characters.", @@ -130,6 +130,19 @@ "maxLength": 50, "sensitive": 1 }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] + }, "server": { "description": "[Optional] Trade server.", "type": [ diff --git a/config/v3/new_account_maltainvest/receive.json b/config/v3/new_account_maltainvest/receive.json index 54c88cf25..ec56781c2 100644 --- a/config/v3/new_account_maltainvest/receive.json +++ b/config/v3/new_account_maltainvest/receive.json @@ -23,6 +23,14 @@ "description": "Client ID of new `maltainvest` account", "type": "string" }, + "currency": { + "description": "Currency of an account", + "type": "string" + }, + "currency_type": { + "description": "Currency type against the currency", + "type": "string" + }, "landing_company": { "description": "Landing company full name", "type": "string" diff --git a/config/v3/new_account_real/receive.json b/config/v3/new_account_real/receive.json index 32a7ea989..7e0808de2 100644 --- a/config/v3/new_account_real/receive.json +++ b/config/v3/new_account_real/receive.json @@ -27,6 +27,10 @@ "description": "Currency of an account", "type": "string" }, + "currency_type": { + "description": "Currency type against the currency", + "type": "string" + }, "landing_company": { "description": "Landing company full name", "type": "string" diff --git a/config/v3/new_account_virtual/receive.json b/config/v3/new_account_virtual/receive.json index 8d610beb8..8c04a5aeb 100644 --- a/config/v3/new_account_virtual/receive.json +++ b/config/v3/new_account_virtual/receive.json @@ -33,6 +33,10 @@ "description": "Account currency", "type": "string" }, + "currency_type": { + "description": "Currency type against the currency", + "type": "string" + }, "email": { "description": "Email of the new virtual-money account", "type": "string" diff --git a/config/v3/transfer_between_accounts/receive.json b/config/v3/transfer_between_accounts/receive.json index ae881e2bb..4398068d2 100644 --- a/config/v3/transfer_between_accounts/receive.json +++ b/config/v3/transfer_between_accounts/receive.json @@ -103,6 +103,19 @@ "real\\vanuatu_financial" ] }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] + }, "status": { "description": "The status of account.", "type": [