{"info":{"_postman_id":"9d69a79c-ab39-40bc-a3f7-0055ce2ce12e","name":"TradeMaster Chargeback - MarketPlace V2","description":"<html><head></head><body><h2 id=\"api-specification-for-trademaster-affiliated-agreements\">API specification for Trademaster affiliated agreements.</h2>\n<p>Contact Support:\n Name: Trademaster\n Email: <a href=\"mailto:implantacao@trademaster.com.br\">implantacao@trademaster.com.br</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"34559332","collectionId":"9d69a79c-ab39-40bc-a3f7-0055ce2ce12e","publishedId":"2sAYBbcUBF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-12-05T13:20:54.000Z"},"item":[{"name":"chargeback","item":[{"name":"get Chargeback","id":"5d9d675f-aa56-4d4b-8857-85a873f34dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"scope","value":"<scope>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://apigateway.hml.trademaster.com.br/v2/agreement/chargeback?pageSize=<number>&pageNumber=<number>&exceptionType=<string>&productName=<string>&sellerDocument=<string>&buyerDocument=<string>&paymentDate=<string>&createDate=<string>","description":"<h2 id=\"consult-chargeback\">Consult chargeback</h2>\n<h2 id=\"exemplo-de-response\">Exemplo de response:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Nome</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Descrição</strong></th>\n<th><strong>Exemplo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pageSize</td>\n<td><code>number</code></td>\n<td>Número de registros por página - se não enviado, o valor padrão será 100</td>\n<td>10</td>\n</tr>\n<tr>\n<td>pageNumber</td>\n<td><code>number</code></td>\n<td>Número da página - se não enviado, valor padrão será 1</td>\n<td>1</td>\n</tr>\n<tr>\n<td>amount</td>\n<td><code>number</code></td>\n<td>Valor do Chargeback do boleto</td>\n<td>35324.76</td>\n</tr>\n<tr>\n<td>dateCreated</td>\n<td><code>string</code></td>\n<td>Data de criação da exceção</td>\n<td>\"2024-03-11T12:21:16.092Z\" (YYYY-MM-DDT24HH:MM:SS.SSSZ)</td>\n</tr>\n<tr>\n<td>discount</td>\n<td><code>number</code></td>\n<td>Valor do desconto do boleto</td>\n<td>0</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td><code>string</code></td>\n<td>Data de Vencimento</td>\n<td>\"2022-12-30\" (YYYY-MM-DD)</td>\n</tr>\n<tr>\n<td>exceptionCode</td>\n<td><code>string</code></td>\n<td>ID da exceção</td>\n<td>\"1001761\"</td>\n</tr>\n<tr>\n<td>exceptionType</td>\n<td><code>enum - string</code></td>\n<td>Tipo de exceção</td>\n<td><strong>ver enum abaixo</strong></td>\n</tr>\n<tr>\n<td>nfeNumber (ou nNfe)</td>\n<td><code>string</code></td>\n<td>Número da NF</td>\n<td>202379</td>\n</tr>\n<tr>\n<td>nominalAmount</td>\n<td><code>number</code></td>\n<td>Valor do repasse do boleto</td>\n<td>29962.33</td>\n</tr>\n<tr>\n<td>operationCode</td>\n<td><code>string</code></td>\n<td>Id da Operação</td>\n<td>\"373669\"</td>\n</tr>\n<tr>\n<td>operationDateCreated</td>\n<td><code>string</code></td>\n<td>Data de criação da Operação</td>\n<td>\"2022-12-19T17:51:29.086Z\" (YYYY-MM-DDT24HH:MM:SS.SSSZ)</td>\n</tr>\n<tr>\n<td>paymentDate</td>\n<td><code>datetime</code></td>\n<td>Data de pagamento do chargeback</td>\n<td>\"2022-12-19T17:51:29.086Z\" (YYYY-MM-DDT24HH:MM:SS.SSSZ)</td>\n</tr>\n<tr>\n<td>productName</td>\n<td><code>string</code></td>\n<td>Tipo do produto</td>\n<td>\"TRADE MAX\"</td>\n</tr>\n<tr>\n<td>programmedPaymentDate</td>\n<td><code>string</code></td>\n<td>Data de agendamento do chargeback</td>\n<td>\"373669\"</td>\n</tr>\n<tr>\n<td>sellerDocument</td>\n<td><code>string</code></td>\n<td>CNPJ do Emissor</td>\n<td>\"01256137000174\"</td>\n</tr>\n<tr>\n<td>titleAmount</td>\n<td><code>number</code></td>\n<td>Valor do título</td>\n<td>30115</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"enum-de-exceptiontype\">Enum de <code>exceptionType</code></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["chargeback"],"host":["https://apigateway.hml.trademaster.com.br/v2/agreement"],"query":[{"description":{"content":"<p>Number of records per page. if not sent the default value is 100</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"description":{"content":"<p>Page. if not sent the default value is 1</p>\n","type":"text/plain"},"key":"pageNumber","value":"<number>"},{"description":{"content":"<p>Exception type</p>\n","type":"text/plain"},"key":"exceptionType","value":"<string>"},{"description":{"content":"<p>Product name</p>\n","type":"text/plain"},"key":"productName","value":"<string>"},{"description":{"content":"<p>Seller document</p>\n","type":"text/plain"},"key":"sellerDocument","value":"<string>"},{"description":{"content":"<p>Buyer document</p>\n","type":"text/plain"},"key":"buyerDocument","value":"<string>"},{"description":{"content":"<p>Payment date of chargeback.</p>\n","type":"text/plain"},"key":"paymentDate","value":"<string>"},{"description":{"content":"<p>Create date of chargeback.</p>\n","type":"text/plain"},"key":"createDate","value":"<string>"}],"variable":[]}},"response":[{"id":"9457568e-48fe-4733-a195-8fabbc4ee1a6","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json; charset=utf-8"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://apigateway.hml.trademaster.com.br/v2/agreement/chargeback?pageSize=<number>&pageNumber=<number>&exceptionType=<string>&productName=<string>&sellerDocument=<string>&buyerDocument=<string>&paymentDate=<string>&createDate=<string>","host":["https://apigateway.hml.trademaster.com.br/v2/agreement"],"path":["chargeback"],"query":[{"description":"Number of records per page. if not sent the default value is 100","key":"pageSize","value":"<number>"},{"description":"Page. if not sent the default value is 1","key":"pageNumber","value":"<number>"},{"description":"Exception type","key":"exceptionType","value":"<string>"},{"description":"Product name","key":"productName","value":"<string>"},{"description":"Seller document","key":"sellerDocument","value":"<string>"},{"description":"Buyer document","key":"buyerDocument","value":"<string>"},{"description":"Payment date of chargeback.","key":"paymentDate","value":"<string>"},{"description":"Create date of chargeback.","key":"createDate","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n\t\"totalCount\": \"<number>\",\n\t\"pageSize\": \"<number>\",\n\t\"pageNumber\": \"<number>\",\n\t\"data\": [\n\t\t{\n\t\t\t\"exceptionCode\": \"<string>\",\n\t\t\t\"operationCode\": \"<string>\",\n\t\t\t\"buyerDocument\": \"<string>\",\n\t\t\t\"exceptionType\": \"<string>\",\n\t\t\t\"productName\": \"<string>\",\n\t\t\t\"holderDocument\": \"<string>\",\n\t\t\t\"sellerDocument\": \"<string>\",\n\t\t\t\"dateCreated\": \"<string>\",\n\t\t\t\"paymentDate\": \"<string>\",\n\t\t\t\"operationDateCreated\": \"<string>\",\n\t\t\t\"nNfe\": \"<string>\",\n\t\t\t\"billetNumber\": \"<string>\",\n\t\t\t\"dueDate\": \"<string>\",\n\t\t\t\"titleAmount\": \"<number>\",\n\t\t\t\"nominalAmount\": \"<number>\",\n\t\t\t\"discount\": \"<number>\",\n\t\t\t\"programmedPaymentDate\": \"<string>\",\n\t\t\t\"amount\": \"<number>\"\n\t\t},\n\t\t{\n\t\t\t\"exceptionCode\": \"<string>\",\n\t\t\t\"operationCode\": \"<string>\",\n\t\t\t\"buyerDocument\": \"<string>\",\n\t\t\t\"exceptionType\": \"<string>\",\n\t\t\t\"productName\": \"<string>\",\n\t\t\t\"holderDocument\": \"<string>\",\n\t\t\t\"sellerDocument\": \"<string>\",\n\t\t\t\"dateCreated\": \"<string>\",\n\t\t\t\"paymentDate\": \"<string>\",\n\t\t\t\"operationDateCreated\": \"<string>\",\n\t\t\t\"nNfe\": \"<string>\",\n\t\t\t\"billetNumber\": \"<string>\",\n\t\t\t\"dueDate\": \"<string>\",\n\t\t\t\"titleAmount\": \"<number>\",\n\t\t\t\"nominalAmount\": \"<number>\",\n\t\t\t\"discount\": \"<number>\",\n\t\t\t\"programmedPaymentDate\": \"<string>\",\n\t\t\t\"amount\": \"<number>\"\n\t\t}\n\t]\n}"},{"id":"a05fb34e-a8be-4983-91df-0ef2fead9b30","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://apigateway.hml.trademaster.com.br/v2/agreement/chargeback?pageSize=<number>&pageNumber=<number>&exceptionType=<string>&productName=<string>&sellerDocument=<string>&buyerDocument=<string>&paymentDate=<string>&createDate=<string>","host":["https://apigateway.hml.trademaster.com.br/v2/agreement"],"path":["chargeback"],"query":[{"description":"Number of records per page. if not sent the default value is 100","key":"pageSize","value":"<number>"},{"description":"Page. if not sent the default value is 1","key":"pageNumber","value":"<number>"},{"description":"Exception type","key":"exceptionType","value":"<string>"},{"description":"Product name","key":"productName","value":"<string>"},{"description":"Seller document","key":"sellerDocument","value":"<string>"},{"description":"Buyer document","key":"buyerDocument","value":"<string>"},{"description":"Payment date of chargeback.","key":"paymentDate","value":"<string>"},{"description":"Create date of chargeback.","key":"createDate","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"description\": \"<string>\",\n\t\"errors\": [\n\t\t{\n\t\t\t\"message\": \"<string>\"\n\t\t},\n\t\t{\n\t\t\t\"message\": \"<string>\"\n\t\t}\n\t],\n\t\"serviceName\": \"<string>\"\n}"},{"id":"b0468d28-66cf-4c01-837b-96aaadbe8df8","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://apigateway.hml.trademaster.com.br/v2/agreement/chargeback?pageSize=<number>&pageNumber=<number>&exceptionType=<string>&productName=<string>&sellerDocument=<string>&buyerDocument=<string>&paymentDate=<string>&createDate=<string>","host":["https://apigateway.hml.trademaster.com.br/v2/agreement"],"path":["chargeback"],"query":[{"description":"Number of records per page. if not sent the default value is 100","key":"pageSize","value":"<number>"},{"description":"Page. if not sent the default value is 1","key":"pageNumber","value":"<number>"},{"description":"Exception type","key":"exceptionType","value":"<string>"},{"description":"Product name","key":"productName","value":"<string>"},{"description":"Seller document","key":"sellerDocument","value":"<string>"},{"description":"Buyer document","key":"buyerDocument","value":"<string>"},{"description":"Payment date of chargeback.","key":"paymentDate","value":"<string>"},{"description":"Create date of chargeback.","key":"createDate","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"bf0edd11-2bd1-4c11-8b5c-4cb263d01798","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://apigateway.hml.trademaster.com.br/v2/agreement/chargeback?pageSize=<number>&pageNumber=<number>&exceptionType=<string>&productName=<string>&sellerDocument=<string>&buyerDocument=<string>&paymentDate=<string>&createDate=<string>","host":["https://apigateway.hml.trademaster.com.br/v2/agreement"],"path":["chargeback"],"query":[{"description":"Number of records per page. if not sent the default value is 100","key":"pageSize","value":"<number>"},{"description":"Page. if not sent the default value is 1","key":"pageNumber","value":"<number>"},{"description":"Exception type","key":"exceptionType","value":"<string>"},{"description":"Product name","key":"productName","value":"<string>"},{"description":"Seller document","key":"sellerDocument","value":"<string>"},{"description":"Buyer document","key":"buyerDocument","value":"<string>"},{"description":"Payment date of chargeback.","key":"paymentDate","value":"<string>"},{"description":"Create date of chargeback.","key":"createDate","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"description\": \"<string>\",\n\t\"errors\": [\n\t\t{\n\t\t\t\"message\": \"<string>\"\n\t\t},\n\t\t{\n\t\t\t\"message\": \"<string>\"\n\t\t}\n\t],\n\t\"serviceName\": \"<string>\"\n}"}],"_postman_id":"5d9d675f-aa56-4d4b-8857-85a873f34dbe"}],"id":"2927da08-7cb3-4cc5-a565-4bb3a966a498","_postman_id":"2927da08-7cb3-4cc5-a565-4bb3a966a498","description":""}],"variable":[{"key":"baseUrl","value":"https://apigateway.hml.trademaster.com.br/v2/agreement"}]}