{"info":{"_postman_id":"fc60c370-eeb5-4813-915c-3b4551730151","name":"OZ Cambio | Client API","description":"<html><head></head><body><p><strong>API Documentation</strong></p>\n<p>This documentation is intended to help the API integration and facilitate the onboarding of customers between OZ Cambio and their partners.</p>\n<p><strong>Available resources</strong></p>\n<p>There are currently the following features below that you can manipulate via the POST method:</p>\n<ul>\n<li><p>Authentication (Token)</p>\n</li>\n<li><p>Create a Company Client [PJ]</p>\n</li>\n<li><p>Create an Individual Client [PF]</p>\n</li>\n</ul>\n<p>Any questions during the implementation, we are at your disposal via email: <a href=\"https://mailto:fx@ozcambio.com.br\"><b>fx@ozcambio.com.br</b></a>.</p>\n<p>Your suggestions and feedback for improvements are also very welcome!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20949677","collectionId":"fc60c370-eeb5-4813-915c-3b4551730151","publishedId":"2sAYBbcnyM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-12-05T13:27:35.000Z"},"item":[{"name":"Authentication","item":[{"name":"Authenticate","id":"aa992770-445b-431f-861f-6aa4aa0219d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"testuser\",\r\n  \"password\": \"Test@123\",\r\n  \"rememberMe\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/partner/public/authenticate","description":"<p>Authenticates a user and returns a JWT token if the credentials are valid.</p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"username\": \"exampleUser\",\n  \"password\": \"examplePassword\",\n  \"rememberMe\": true\n}\n\n</code></pre>\n<p>Request Body Properties:<br />• username (string, required): The username of the user. Must be between 1 and 50 characters.<br />• password (string, required): The password of the user. Must be between 4 and 100 characters.<br />• rememberMe (bool, required): Indicates whether the user should be remembered for a longer period.</p>\n<p>Responses:<br />• 200 OK: Authentication successful. Returns a JWT token.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:</p>\n<p>• Ensure that the username and password fields are correctly provided in the request body.<br />• The rememberMe field is a boolean that determines if the session should be extended.</p>\n","urlObject":{"path":["{{API_VERSION}}","partner","public","authenticate"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa992770-445b-431f-861f-6aa4aa0219d4"}],"id":"da1b1ba2-a1ef-490b-80fe-4da8ed31343f","description":"<p>Bearer Token</p>\n","_postman_id":"da1b1ba2-a1ef-490b-80fe-4da8ed31343f"},{"name":"Client PJ","item":[{"name":"Create User","id":"e3d7509d-7886-4e00-b0fa-3c0e04a54a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientType\": 1,\r\n    \"additionalEmails\": [\r\n        {\r\n            \"email\": \"cruz@gmail.com\"\r\n        }\r\n    ],\r\n    \"document\": \"27917519000195\",\r\n    \"name\": \"Vinicius Goncalves Soares Cruz\",\r\n    \"phoneNumber\": \"11975612895\",\r\n    \"email\": \"cruz@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/create-pj","description":"<p>Registers a new corporate client (PJ) with the provided data.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <strong>Bearer {{</strong><em><strong>token</strong></em><strong>}}</strong></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"document\": \"12.345.678/0001-99\", // Corporate Document Number (CNPJ)\n  \"name\": \"John Doe\", // Contact Name in the Company\n  \"phoneNumber\": \"123-456-7890\", // Contact Phone Number\n  \"email\": \"john.doe@example.com\", // Contact Email Address\n  \"additionalEmails\": [ // List of Additional Contact Emails\n    {\n      \"email\": \"additional1@example.com\"\n    },\n    {\n      \"email\": \"additional2@example.com\"\n    }\n  ]\n}\n\n</code></pre>\n<p>Request Body Properties:<br />• document (string, required): Corporate Document Number (CNPJ)<br />• name (string, required): Contact Name in the Company<br />• phoneNumber (string, required): Contact Phone Number<br />• email (string, required): Contact Email Address<br />• additionalEmails (array of objects, optional): List of Additional Contact Emails<br />• email (string, required): Additional Contact Email</p>\n<p>Responses:<br />• 200 OK: Corporate client registered successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"document\": \"12.345.678/0001-99\",\n    \"name\": \"John Doe\",\n    \"phoneNumber\": \"123-456-7890\",\n    \"email\": \"john.doe@example.com\",\n    \"additionalEmails\": [\n      {\n        \"email\": \"additional1@example.com\"\n      },\n      {\n        \"email\": \"additional2@example.com\"\n      }\n    ]\n  },\n  \"message\": \"Corporate client registered successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The document field must be a valid Brazilian CNPJ number.<br />• The name, phoneNumber, and email fields are required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","create-pj"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3d7509d-7886-4e00-b0fa-3c0e04a54a46"},{"name":"Update Basic Data","id":"d20e6e43-10e5-4f0f-b1c1-954ef6dddff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"cruz@gmail.com\",\r\n    \"businessSector\": \"47.54-7-01 - Comércio varejista de móveis\",\r\n    \"address\": \"R WANDICK BADARO\",\r\n    \"number\": \"06\",\r\n    \"district\": \"AMARALINA\",\r\n    \"complement\": \"********\",\r\n    \"city\": \"SALVADOR\",\r\n    \"phone\": \"(71) 8640-3234\",\r\n    \"postalCode\": \"41.900-475\",\r\n    \"state\": \"BA\",\r\n    \"document\": \"27917519000195\",\r\n    \"companyName\": \"VINICIUS GONCALVES SOARES CRUZ 08460971503\",\r\n    \"id\": 366\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/update-basic-data-pj/{id}","description":"<p>Updates the basic data of a corporate client (PJ) with the provided data.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong>  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 1, // Unique identifier of the corporate account\n  \"document\": \"12.345.678/0001-99\", // Corporate Document Number (CNPJ)\n  \"companyName\": \"Example Company\", // Company Name\n  \"email\": \"contact@example.com\", // Corporate Email Address\n  \"phone\": \"123-456-7890\", // Corporate Phone Number\n  \"businessSector\": \"Technology\", // Business Sector\n  \"postalCode\": \"12345-678\", // Postal Code\n  \"address\": \"123 Main St\", // Address\n  \"number\": \"456\", // Address Number\n  \"complement\": \"Suite 789\", // Address Complement\n  \"district\": \"Downtown\", // District\n  \"city\": \"Example City\", // City\n  \"state\": \"EX\" // State\n}\n\n</code></pre>\n<p>Request Body Properties:<br />• id (long, required): Unique identifier of the corporate account<br />• document (string, required): Corporate Document Number (CNPJ)<br />• companyName (string, required): Company Name<br />• email (string, required): Corporate Email Address<br />• phone (string, required): Corporate Phone Number<br />• businessSector (string, required): Business Sector<br />• postalCode (string, required): Postal Code<br />• address (string, required): Address<br />• number (string, required): Address Number<br />• complement (string, optional): Address Complement<br />• district (string, required): District<br />• city (string, required): City<br />• state (string, required): State</p>\n<p>Responses:<br />• 200 OK: Basic data of the corporate client updated successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"document\": \"12.345.678/0001-99\",\n    \"companyName\": \"Example Company\",\n    \"email\": \"contact@example.com\",\n    \"phone\": \"123-456-7890\",\n    \"businessSector\": \"Technology\",\n    \"postalCode\": \"12345-678\",\n    \"address\": \"123 Main St\",\n    \"number\": \"456\",\n    \"complement\": \"Suite 789\",\n    \"district\": \"Downtown\",\n    \"city\": \"Example City\",\n    \"state\": \"EX\"\n  },\n  \"message\": \"Basic data of the corporate client updated successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The document field must be a valid Brazilian CNPJ number.<br />• The id, document, companyName, email, phone, businessSector, postalCode, address, number, district, city, and state fields are required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","update-basic-data-pj","{id}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d20e6e43-10e5-4f0f-b1c1-954ef6dddff4"},{"name":"Get Responsibles Data","id":"c79c5967-8c67-4124-961f-b2a43d783aa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/get-responsibles/{id}","description":"<p>Retrieves the data of the responsibles of a corporate client (PJ) by the client ID.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Path Parameters]<br />• id (long, required): The unique identifier of the corporate client (PJ).</p>\n<p>Responses:<br />• 200 OK: Responsibles data retrieved successfully.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"John Doe\",\n      \"document\": \"12345678901\",\n      \"participation\": 50.0,\n      \"canSign\": true,\n      \"phone\": \"123-456-7890\",\n      \"email\": \"john.doe@example.com\",\n      \"address\": {\n        \"street\": \"123 Main St\",\n        \"city\": \"Anytown\",\n        \"state\": \"Anystate\",\n        \"zipCode\": \"12345\",\n        \"country\": \"USA\"\n      },\n      \"isFATCA\": false,\n      \"foreignAccountData\": null,\n      \"corporateAccountId\": 1001\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Jane Smith\",\n      \"document\": \"98765432109\",\n      \"participation\": 50.0,\n      \"canSign\": false,\n      \"phone\": \"987-654-3210\",\n      \"email\": \"jane.smith@example.com\",\n      \"address\": {\n        \"street\": \"456 Elm St\",\n        \"city\": \"Othertown\",\n        \"state\": \"Otherstate\",\n        \"zipCode\": \"67890\",\n        \"country\": \"USA\"\n      },\n      \"isFATCA\": true,\n      \"foreignAccountData\": {\n        \"accountNumber\": \"123456789\",\n        \"bankName\": \"Foreign Bank\",\n        \"country\": \"Foreign Country\"\n      },\n      \"corporateAccountId\": 1001\n    }\n  ],\n  \"message\": \"Responsibles data retrieved successfully.\"\n}\n\n</code></pre>\n<p>Response Body Properties:<br />• success (boolean): Indicates if the request was successful.<br />• data (array of objects): List of responsibles data.<br />• id (long): Unique identifier of the responsible.<br />• name (string): Name of the responsible.<br />• document (string): Document of the responsible (CPF/CNPJ).<br />• participation (float): Percentage participation of the responsible in the company.<br />• canSign (boolean): Indicates if the responsible can sign on behalf of the company.<br />• phone (string, optional): Contact phone number of the responsible.<br />• email (string, optional): Contact email of the responsible.<br />• address (object, optional): Address of the responsible.<br />• street (string): Street address.<br />• city (string): City.<br />• state (string): State.<br />• zipCode (string): Zip code.<br />• country (string): Country.<br />• isFATCA (boolean): Indicates if the responsible is subject to FATCA regulations.<br />• foreignAccountData (object, optional): Foreign account data of the responsible, if applicable.<br />• accountNumber (string): Account number.<br />• bankName (string): Bank name.<br />• country (string): Country.<br />• corporateAccountId (long, optional): Identifier of the corporate account associated with the responsible.<br />• message (string): Response message.</p>\n<p>• 401 Unauthorized: User is not authenticated.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p>• 404 Not Found: No responsible found with the provided client ID.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Client not found.\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The id parameter in the URL is required to identify the corporate client.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","get-responsibles","{id}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c79c5967-8c67-4124-961f-b2a43d783aa1"},{"name":"Updata Responsibles Data","id":"65602eef-6f1b-4ca3-8d26-0f108dca55b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"id\": 490,\r\n        \"name\": \"VINICIUS GONCALVES SOARES CRUZ\",\r\n        \"document\": \"08460971503\",\r\n        \"participation\": 100,\r\n        \"canSign\": true,\r\n        \"isFATCA\": true,\r\n        \"corporateAccountId\": 366,\r\n        \"cpf\": \"08460971503\",\r\n        \"phone\": \"(11) 87589-5685\",\r\n        \"email\": \"cruz@gmail.com\",\r\n        \"address\": {\r\n            \"postalCode\": \"04.303-001\",\r\n            \"address\": \"Rua Professor Aprígio Gonzaga\",\r\n            \"number\": \"58\",\r\n            \"district\": \"São Judas\",\r\n            \"city\": \"São Paulo\",\r\n            \"state\": \"SP\",\r\n            \"country\": \"Brasil\"\r\n        },\r\n        \"foreignAccountData\": {\r\n            \"identificationNumber\": \"5254\",\r\n            \"bornAmerican\": true,\r\n            \"naturalizedAmerican\": true,\r\n            \"hasGreenCard\": true,\r\n            \"taxResidenceEUA\": true,\r\n            \"partnerInAmericanCompany\": true\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/update-responsibles","description":"<p>Updates the data of the corporate client (PJ) responsibles with the provided data.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"id\": 1, // Unique identifier of the company responsible\n    \"name\": \"John Doe\", // Name of the company responsible\n    \"document\": \"123.456.789-00\", // Document of the responsible (CPF/CNPJ)\n    \"participation\": 50.0, // Percentage participation of the responsible in the company\n    \"canSign\": true, // Indicates if the responsible can sign for the company\n    \"phone\": \"123-456-7890\", // Contact phone of the responsible\n    \"email\": \"john.doe@example.com\", // Contact email of the responsible\n    \"address\": {\n      \"street\": \"123 Main St\", // Street address of the responsible\n      \"number\": \"456\", // Address number\n      \"complement\": \"Apt 789\", // Address complement\n      \"district\": \"Downtown\", // District\n      \"city\": \"Example City\", // City\n      \"state\": \"EX\", // State\n      \"postalCode\": \"12345-678\" // Postal code\n    },\n    \"isFATCA\": false, // Indicates if the responsible is subject to FATCA regulations\n    \"foreignAccountData\": {\n      \"bankName\": \"Example Bank\", // Name of the foreign bank\n      \"accountNumber\": \"123456789\", // Foreign account number\n      \"country\": \"USA\" // Country of the foreign account\n    },\n    \"corporateAccountId\": 1 // Identifier of the corporate account associated with the responsible\n  }\n]\n\n</code></pre>\n<p>Request Body Properties:<br />• id (long, required): Unique identifier of the company responsible<br />• name (string, required): Name of the company responsible<br />• document (string, required): Document of the responsible (CPF/CNPJ)<br />• participation (float, required): Percentage participation of the responsible in the company<br />• canSign (bool, required): Indicates if the responsible can sign for the company<br />• phone (string, optional): Contact phone of the responsible<br />• email (string, optional): Contact email of the responsible<br />• address (object, optional): Address of the responsible<br />• street (string, required): Street address of the responsible<br />• number (string, required): Address number<br />• complement (string, optional): Address complement<br />• district (string, required): District<br />• city (string, required): City<br />• state (string, required): State<br />• postalCode (string, required): Postal code<br />• isFATCA (bool, required): Indicates if the responsible is subject to FATCA regulations<br />• foreignAccountData (object, optional): Foreign account data of the responsible<br />• bankName (string, required): Name of the foreign bank<br />• accountNumber (string, required): Foreign account number<br />• country (string, required): Country of the foreign account<br />• corporateAccountId (long?, optional): Identifier of the corporate account associated with the responsible</p>\n<p>Responses:<br />• 200 OK: Data of the company responsibles updated successfully.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"John Doe\",\n      \"document\": \"123.456.789-00\",\n      \"participation\": 50.0,\n      \"canSign\": true,\n      \"phone\": \"123-456-7890\",\n      \"email\": \"john.doe@example.com\",\n      \"address\": {\n        \"street\": \"123 Main St\",\n        \"number\": \"456\",\n        \"complement\": \"Apt 789\",\n        \"district\": \"Downtown\",\n        \"city\": \"Example City\",\n        \"state\": \"EX\",\n        \"postalCode\": \"12345-678\"\n      },\n      \"isFATCA\": false,\n      \"foreignAccountData\": {\n        \"bankName\": \"Example Bank\",\n        \"accountNumber\": \"123456789\",\n        \"country\": \"USA\"\n      },\n      \"corporateAccountId\": 1\n    }\n  ],\n  \"message\": \"Data of the company responsibles updated successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.</p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The id, name, document, participation, canSign, and isFATCA fields are required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","update-responsibles"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65602eef-6f1b-4ca3-8d26-0f108dca55b2"},{"name":"Update Documents","id":"2ba4d5f1-d28f-4ce2-a259-077f2891cbb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"socialContract.id","value":"366","type":"text"},{"key":"socialContract.file","type":"file","value":null},{"key":"companyResponsibles[0].id","value":"490","type":"text"},{"key":"companyResponsibles[0].file","type":"file","value":null}]},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/update-documents","description":"<p>Allows updating the documents of a corporate client (PJ) by uploading document files.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>multipart/form-data</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>multipart/form-data</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">socialContract.id: 366\nsocialContract.file: (binary)\ncompanyResponsibles[0].id: 490\ncompanyResponsibles[0].file: (binary)\n\n</code></pre>\n<p>Request Body Properties:</p>\n<ul>\n<li><p>socialContract (DocumentPartnerDto, required): The social contract document of the client.<br />  • id (int, required): Unique identifier of the social contract document.<br />  • file (IFormFile, required): The file content to be uploaded.</p>\n</li>\n<li><p>companyResponsibles (List, required): List of documents of the company responsibles<br />  • id (int, required): Unique identifier of the responsible's document.<br />  • file (IFormFile, required): The file content to be uploaded.</p>\n</li>\n</ul>\n<p>Responses:<br />• 200 OK: Documents updated successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"socialContract\": {\n      \"fileName\": \"social_contract.pdf\",\n      \"fileContent\": \"base64_encoded_content\"\n    },\n    \"companyResponsibles\": [\n      {\n        \"fileName\": \"responsible_document_1.pdf\",\n        \"fileContent\": \"base64_encoded_content\"\n      },\n      {\n        \"fileName\": \"responsible_document_2.pdf\",\n        \"fileContent\": \"base64_encoded_content\"\n      }\n    ]\n  },\n  \"message\": \"Documents updated successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The fileName and fileContent fields are required for each document in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","update-documents"],"host":["{{BASE_URL}}"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"2ba4d5f1-d28f-4ce2-a259-077f2891cbb8"}],"id":"1b2cef54-f303-4387-b2e9-aab5db5efa7a","description":"<p>This section provides endpoints to manage Company clients (PF).</p>\n","_postman_id":"1b2cef54-f303-4387-b2e9-aab5db5efa7a"},{"name":"Client PF","item":[{"name":"Create User","id":"3ce4e801-a9af-4406-be9f-4c11c2ed222e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientType\": \"0\",\r\n    \"additionalEmails\": [\r\n        {\r\n            \"email\": \"celio@gmail.com\"\r\n        }\r\n    ],\r\n    \"document\": \"56368364734\",\r\n    \"name\": \"CÉLIO JORGE\",\r\n    \"phoneNumber\": \"11958785425\",\r\n    \"email\": \"celio@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/create-pf","description":"<p>Updates the basic data of an individual client (PF) by ID with the provided data.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong>  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 1, // Unique identifier of the individual account\n  \"sex\": \"M\", // Sex of the account holder. M - Male, F - Female\n  \"isPublicAgent\": true, // Indicates if the account holder is a public agent\n  \"publicAgentDescription\": \"Public agent description\", // Additional information about the public agent\n  \"anualIncome\": 50000.00, // Annual income of the individual account\n  \"isResidentAbroad\": false, // Indicator of residence abroad\n  \"postalCode\": \"12345-678\", // Postal code of the address\n  \"address\": \"123 Main St\", // Address\n  \"number\": \"456\", // Number associated with the address\n  \"complement\": \"Apt 789\", // Address complement\n  \"district\": \"Downtown\", // District of the address\n  \"city\": \"Metropolis\", // City of the address\n  \"state\": \"NY\", // State of the address\n  \"countryId\": 1 // Country ID of the address\n}\n\n</code></pre>\n<p>Request Body Properties:</p>\n<p>• id (long, required): Unique identifier of the individual account<br />• sex (string, required): Sex of the account holder. M - Male, F - Female<br />• isPublicAgent (bool, required): Indicates if the account holder is a public agent<br />• publicAgentDescription (string, optional): Additional information about the public agent<br />• anualIncome (decimal, required): Annual income of the individual account<br />• isResidentAbroad (bool, required): Indicator of residence abroad<br />• postalCode (string, required): Postal code of the address<br />• address (string, required): Address<br />• number (string, required): Number associated with the address<br />• complement (string, optional): Address complement<br />• district (string, required): District of the address<br />• city (string, required): City of the address<br />• state (string, required): State of the address<br />• countryId (long, required): Country ID of the address  </p>\n<p>Responses:<br />• 200 OK: Basic data of the individual client updated successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"sex\": \"M\",\n    \"isPublicAgent\": true,\n    \"publicAgentDescription\": \"Public agent description\",\n    \"anualIncome\": 50000.00,\n    \"isResidentAbroad\": false,\n    \"postalCode\": \"12345-678\",\n    \"address\": \"123 Main St\",\n    \"number\": \"456\",\n    \"complement\": \"Apt 789\",\n    \"district\": \"Downtown\",\n    \"city\": \"Metropolis\",\n    \"state\": \"NY\",\n    \"countryId\": 1\n  },\n  \"message\": \"Individual client basic data updated successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.<br /><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The id, sex, isPublicAgent, anualIncome, isResidentAbroad, postalCode, address, number, district, city, state, and countryId fields are required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","create-pf"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ce4e801-a9af-4406-be9f-4c11c2ed222e"},{"name":"Update Basic Data","id":"6a34f20c-a0ed-423b-a3cb-60ce4a21d027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sex\": \"m\",\r\n    \"isPublicAgent\": true,\r\n    \"anualIncome\": 1000,\r\n    \"isResidentAbroad\": false,\r\n    \"postalCode\": \"04.303-001\",\r\n    \"publicAgentDescription\": \"Analista 2010\",\r\n    \"address\": \"Rua Professor Aprígio Gonzaga\",\r\n    \"number\": \"100\",\r\n    \"complement\": \"ap 205\",\r\n    \"district\": \"São Judas\",\r\n    \"city\": \"São Paulo\",\r\n    \"state\": \"SP\",\r\n    \"document\": \"56368364734\",\r\n    \"name\": \"CLEZIO DA ROCHA\",\r\n    \"id\": 55\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/update-basic-data-pf/{id}","description":"<p>Registers a new individual client (PF) with the provided data.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"document\": \"123.456.789-01\", // Document Number (CPF)\n  \"name\": \"John Doe\", // Contact Name\n  \"phoneNumber\": \"123-456-7890\", // Contact Phone Number\n  \"email\": \"john.doe@example.com\", // Contact Email Address\n  \"additionalEmails\": [ // List of Additional Contact Emails\n    {\n      \"email\": \"additional1@example.com\"\n    },\n    {\n      \"email\": \"additional2@example.com\"\n    }\n  ]\n}\n\n</code></pre>\n<p>Request Body Properties:<br />• document (string, required): Document Number (CPF)<br />• name (string, required): Contact Name<br />• phoneNumber (string, required): Contact Phone Number<br />• email (string, required): Contact Email Address<br />• additionalEmails (array of objects, optional): List of Additional Contact Emails<br />• email (string, required): Additional Contact Email</p>\n<p>Responses:<br />• 200 OK: Individual client registered successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"document\": \"123.456.789-01\",\n    \"name\": \"John Doe\",\n    \"phoneNumber\": \"123-456-7890\",\n    \"email\": \"john.doe@example.com\",\n    \"additionalEmails\": [\n      {\n        \"email\": \"additional1@example.com\"\n      },\n      {\n        \"email\": \"additional2@example.com\"\n      }\n    ]\n  },\n  \"message\": \"Individual client registered successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The document field must be a valid Brazilian CPF number.<br />• The name, phoneNumber, and email fields are required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","update-basic-data-pf","{id}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a34f20c-a0ed-423b-a3cb-60ce4a21d027"},{"name":"Update Complementary Data","id":"ed5965d5-4520-4910-b3b8-f4153c959444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isFATCA\": true,\r\n    \"isPEP\": true,\r\n    \"identificationNumber\": \"5254\",\r\n    \"id\": 55\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/update-complementary-data-pf/{id}","description":"<p>Updates the complementary data of an individual client (PF) by ID with the provided data.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>application/json</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 1, // Unique identifier of the client\n  \"isFATCA\": true, // Indicates if the client is subject to FATCA\n  \"identificationNumber\": \"123456789\", // Client's identification number\n  \"isPEP\": false // Indicates if the client is a politically exposed person (PEP)\n}\n\n</code></pre>\n<p>Request Body Properties:</p>\n<p>• id (long, required): Unique identifier of the client<br />• isFATCA (bool, required): Indicates if the client is subject to FATCA<br />• identificationNumber (string, required): Client's identification number<br />• isPEP (bool, required): Indicates if the client is a politically exposed person (PEP)  </p>\n<p>Responses:<br />• 200 OK: Complementary data of the individual client updated successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"isFATCA\": true,\n    \"identificationNumber\": \"123456789\",\n    \"isPEP\": false\n  },\n  \"message\": \"Individual client complementary data updated successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The id, isFATCA, identificationNumber, and isPEP fields are required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","update-complementary-data-pf","{id}"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed5965d5-4520-4910-b3b8-f4153c959444"},{"name":"Update Documents","id":"e213f50d-e82a-456a-b920-8130efff636b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"personalFile.id","value":"55","type":"text"},{"key":"personalFile.file","type":"file","value":null}]},"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/update-document-pf","description":"<p>Updates the documents of an individual client (PF) by uploading the provided files.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>multipart/form-data</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Body]<br />• Type: <strong>multipart/form-data</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">personalFile.id: 55\npersonalFile.file: (binary)\n\n</code></pre>\n<p>Request FormProperties:</p>\n<ul>\n<li>PersonalFile (DocumentPartnerDto, required): The document of the client.<br />  • id (int, required): Unique identifier of the Client.<br />  • file (IFormFile, required): The file content to be uploaded.</li>\n</ul>\n<p>Responses:<br />• 200 OK: Documents of the individual client updated successfully.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"personalFile\": {\n      \"id\": 1,\n      \"fileName\": \"document.pdf\",\n      \"fileType\": \"application/pdf\"\n    }\n  },\n  \"message\": \"Individual client documents updated successfully.\"\n}\n\n</code></pre>\n<p>• 400 Bad Request: Invalid data provided for client registration.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Invalid data provided.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The personalFile field is required and must be provided in the request body.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","update-document-pf"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e213f50d-e82a-456a-b920-8130efff636b"}],"id":"57b59e99-5bbf-4777-8cd1-ec39c0aa5370","description":"<p>This section provides endpoints to manage Individual Clients (PF).</p>\n","_postman_id":"57b59e99-5bbf-4777-8cd1-ec39c0aa5370"},{"name":"Get Filtered","id":"4e6385e1-c519-492e-886e-9e31edbc7c46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/{{API_VERSION}}/v1/partner/public/clients/get-filtered?page=0&orderBy[column]=&rowsPerPage=10","description":"<p>Retrieves a paginated list of clients based on filtering criteria.</p>\n<p>[Authorization]<br />• Type: <strong>Bearer Token</strong></p>\n<p>[Headers]<br />• Content-Type: <strong>application/json</strong><br />• Authorization: <em><strong>Bearer {{token}}</strong></em></p>\n<p>[Request Parameters]<br />• Type: <strong>query</strong></p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"John Doe\", // Name of the individual or corporate client\n  \"document\": \"123456789\", // Document number (CPF/CNPJ)\n  \"clientType\": 0, // Client type: 0 for PF (individual), 1 for PJ (corporate)\n  \"status\": 8, // Registration status: 8 for APPROVED, 1 for PROCESSING\n  \"page\": 1, // Page number for pagination\n  \"size\": 10 // Number of items per page\n}\n\n</code></pre>\n<p>Request Parameters Properties:<br />• name (string, optional): Name of the individual or corporate client.<br />• document (string, optional): Document number (CPF/CNPJ).<br />• clientType (EPersonType, optional): Client type. Acceptable values: 0 for PF (individual), 1 for PJ (corporate).<br />• status (EStatusPersonalCheck, optional): Registration status. Acceptable values: 8 for APPROVED, 1 for PROCESSING.<br />• page (int, optional): Page number for pagination.<br />• size (int, optional): Number of items per page.</p>\n<p>Responses:<br />• 200 OK: A paginated list of clients.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"items\": [\n      {\n        \"id\": 1,\n        \"name\": \"John Doe\",\n        \"document\": \"123456789\",\n        \"participation\": 50.0,\n        \"canSign\": true,\n        \"phone\": \"555-1234\",\n        \"email\": \"john.doe@example.com\",\n        \"address\": {\n          \"street\": \"123 Main St\",\n          \"city\": \"Anytown\",\n          \"state\": \"CA\",\n          \"zipCode\": \"12345\"\n        },\n        \"isFATCA\": false,\n        \"foreignAccountData\": null,\n        \"corporateAccountId\": 1001\n      }\n    ],\n    \"totalItems\": 1,\n    \"totalPages\": 1,\n    \"currentPage\": 1\n  },\n  \"message\": \"Clients retrieved successfully.\"\n}\n\n</code></pre>\n<p>• 401 Unauthorized: User is not authenticated.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<p>• 404 Not Found: No responsible found with the provided client ID.  </p>\n<p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"message\": \"Client not found.\"\n}\n\n</code></pre>\n<p><strong>Notes</strong>:<br />• The name, document, clientType, and status fields are optional and can be used to filter the clients.</p>\n","urlObject":{"path":["{{API_VERSION}}","v1","partner","public","clients","get-filtered"],"host":["{{BASE_URL}}"],"query":[{"key":"page","value":"0"},{"key":"orderBy[column]","value":""},{"key":"rowsPerPage","value":"10"}],"variable":[]}},"response":[],"_postman_id":"4e6385e1-c519-492e-886e-9e31edbc7c46"}]}