{ "item": [ { "name": "Antecipação", "item": [ { "name": "Listar Simulações de Antecipação", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/antecipation\/simulate\/get-by-filters", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "antecipation", "simulate", "get-by-filters" ] }, "description": "" }, "response": [ { "name": "Response - Listar Simulações de Antecipação", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/antecipation\/simulate\/get-by-filters", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "antecipation", "simulate", "get-by-filters" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Simular Antecipação", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/antecipation\/simulate", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "antecipation", "simulate" ] }, "description": "" }, "response": [ { "name": "Response - Simular Antecipação", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/antecipation\/simulate", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "antecipation", "simulate" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Antecipar recebíveis", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/antecipation", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "antecipation" ] }, "description": "" }, "response": [ { "name": "Response - Antecipar recebíveis", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/antecipation", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "antecipation" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Chargebacks", "item": [ { "name": "Listar Chargebacks", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/chargebacks", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "chargebacks" ] }, "description": "" }, "response": [ { "name": "Response - Listar Chargebacks", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/chargebacks", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "chargebacks" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Desistir Disputa", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/chargebacks\/lose\/9998", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "chargebacks", "lose", "9998" ] }, "description": "" }, "response": [ { "name": "Response - Desistir Disputa", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/chargebacks\/lose\/9998", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "chargebacks", "lose", "9998" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Enviar Documentação", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/chargebacks\/9998", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "chargebacks", "9998" ] }, "description": "" }, "response": [ { "name": "Response - Enviar Documentação", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/chargebacks\/9998", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "chargebacks", "9998" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Taxas", "item": [ { "name": "Listar Taxas", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/fees", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "fees" ] }, "description": "" }, "response": [ { "name": "Response - Listar Taxas", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/fees", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "fees" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Extrato", "item": [ { "name": "Consultar Extrato", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/balance\/movements", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "balance", "movements" ] }, "description": "" }, "response": [ { "name": "Response - Consultar Extrato", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/balance\/movements", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "balance", "movements" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Ver Saldo", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/balance", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "balance" ] }, "description": "" }, "response": [ { "name": "Response - Ver Saldo", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/balance", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "balance" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Subcontas", "item": [ { "name": "Listar Subcontas", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccounts", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccounts" ] }, "description": "" }, "response": [ { "name": "Response - Listar Subcontas", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccounts", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccounts" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Obter Documentos Necessários", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/mandatory-documents", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "mandatory-documents" ] }, "description": "" }, "response": [ { "name": "Response - Obter Documentos Necessários", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/mandatory-documents", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "mandatory-documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar Subconta CPF", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount" ] }, "description": "" }, "response": [ { "name": "Response - Criar Subconta CPF", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar Subconta CNPJ", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount" ] }, "description": "" }, "response": [ { "name": "Response - Criar Subconta CNPJ", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Enviar Documentos Necessários CPF", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/mandatory-documents", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "mandatory-documents" ] }, "description": "" }, "response": [ { "name": "Response - Enviar Documentos Necessários CPF", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/mandatory-documents", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "mandatory-documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Enviar Documentos Necessários CNPJ", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/mandatory-documents", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "mandatory-documents" ] }, "description": "" }, "response": [ { "name": "Response - Enviar Documentos Necessários CNPJ", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/mandatory-documents", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "mandatory-documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar Subconta", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount\/1", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount", "1" ] }, "description": "" }, "response": [ { "name": "Response - Editar Subconta", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount\/1", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount", "1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Reativar Subconta", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount\/active\/1", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount", "active", "1" ] }, "description": "" }, "response": [ { "name": "Response - Reativar Subconta", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount\/active\/1", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount", "active", "1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Inativar Subconta", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount\/1", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount", "1" ] }, "description": "" }, "response": [ { "name": "Response - Inativar Subconta", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/company\/subaccount\/1", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "company", "subaccount", "1" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Saques e Transferências", "item": [ { "name": "Fazer um Pix", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/pix\/payment", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "pix", "payment" ] }, "description": "" }, "response": [ { "name": "Response - Fazer um Pix", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/pix\/payment", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "pix", "payment" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Fazer uma Transferência interna", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transfer\/internal", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transfer", "internal" ] }, "description": "" }, "response": [ { "name": "Response - Fazer uma Transferência interna", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transfer\/internal", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transfer", "internal" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Instalar\/Configurar Módulo Transferências Automáticas", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/pix\/automatic-transfers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "pix", "automatic-transfers" ] }, "description": "" }, "response": [ { "name": "Response - Instalar\/Configurar Módulo Transferências Automáticas", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/pix\/automatic-transfers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "pix", "automatic-transfers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Desinstalar Módulo Transferências Automáticas", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/pix\/automatic-transfers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "pix", "automatic-transfers" ] }, "description": "" }, "response": [ { "name": "Response - Desinstalar Módulo Transferências Automáticas", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/pix\/automatic-transfers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "pix", "automatic-transfers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Autenticação", "item": [ { "name": "Obter token de acesso", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/token", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "token" ] }, "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{GALAX_HASH}}", "type": "string" }, { "key": "username", "value": "{{GALAX_ID}}", "type": "string" } ] }, "description": "" }, "response": [ { "name": "Response - Obter token de acesso", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/token", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "token" ] }, "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{GALAX_HASH}}", "type": "string" }, { "key": "username", "value": "{{GALAX_ID}}", "type": "string" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Clientes", "item": [ { "name": "Listar Clientes", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers" ] }, "description": "" }, "response": [ { "name": "Response - Listar Clientes", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar Cliente", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers" ] }, "description": "" }, "response": [ { "name": "Response - Criar Cliente", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar cliente", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Editar cliente", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Excluir cliente", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Excluir cliente", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/customers\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "customers", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Planos", "item": [ { "name": "Listar Planos", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans" ] }, "description": "" }, "response": [ { "name": "Response - Listar Planos", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar Plano", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans" ] }, "description": "" }, "response": [ { "name": "Response - Criar Plano", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar Plano", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Editar Plano", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Excluir Plano", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Excluir Plano", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/plans\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "plans", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Cartões", "item": [ { "name": "Listar Cartões", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/cards", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "cards" ] }, "description": "" }, "response": [ { "name": "Response - Listar Cartões", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/cards", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "cards" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar Cartão", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/cards\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "cards", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Criar Cartão", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/cards\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "cards", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Inativar Cartão", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/cards\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "cards", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Inativar Cartão", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/cards\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "cards", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Assinaturas e Contratos", "item": [ { "name": "Listar assinaturas\/contratos", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions" ] }, "description": "" }, "response": [ { "name": "Response - Listar assinaturas\/contratos", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar assinatura\/contrato com plano", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions" ] }, "description": "" }, "response": [ { "name": "Response - Criar assinatura\/contrato com plano", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar assinatura\/contrato sem plano", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions" ] }, "description": "" }, "response": [ { "name": "Response - Criar assinatura\/contrato sem plano", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar assinatura\/contrato manual", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/manual", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "manual" ] }, "description": "" }, "response": [ { "name": "Response - Criar assinatura\/contrato manual", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/manual", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "manual" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Adicionar uma transação", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/add", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "add" ] }, "description": "" }, "response": [ { "name": "Response - Adicionar uma transação", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/add", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "add" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar informações da assinatura\/contrato", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Editar informações da assinatura\/contrato", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar pagamento da assinatura\/contrato", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Editar pagamento da assinatura\/contrato", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar transação", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Editar transação", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Retentar cobrança no cartão", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/retry", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "retry" ] }, "description": "" }, "response": [ { "name": "Response - Retentar cobrança no cartão", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/retry", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "retry" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Estornar cobrança no cartão", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/reverse", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "reverse" ] }, "description": "" }, "response": [ { "name": "Response - Estornar cobrança no cartão", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/reverse", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "reverse" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Capturar cobrança no cartão", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/capture", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "capture" ] }, "description": "" }, "response": [ { "name": "Response - Capturar cobrança no cartão", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId\/capture", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId", "capture" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Cancelar assinatura\/contrato", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Cancelar assinatura\/contrato", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/subscriptions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "subscriptions", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Cancelar uma transação", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Cancelar uma transação", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Cobranças avulsas", "item": [ { "name": "Listar cobranças avulsas", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges" ] }, "description": "" }, "response": [ { "name": "Response - Listar cobranças avulsas", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Criar cobrança avulsa", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges" ] }, "description": "" }, "response": [ { "name": "Response - Criar cobrança avulsa", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Editar cobrança avulsa", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Editar cobrança avulsa", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Retentar cobrança no cartão", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId\/retry", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId", "retry" ] }, "description": "" }, "response": [ { "name": "Response - Retentar cobrança no cartão", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId\/retry", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId", "retry" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Estornar cobrança no cartão", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId\/reverse", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId", "reverse" ] }, "description": "" }, "response": [ { "name": "Response - Estornar cobrança no cartão", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId\/reverse", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId", "reverse" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Capturar cobrança no cartão", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId\/capture", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId", "capture" ] }, "description": "" }, "response": [ { "name": "Response - Capturar cobrança no cartão", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId\/capture", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId", "capture" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Cancelar cobrança avulsa", "request": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId" ] }, "description": "" }, "response": [ { "name": "Response - Cancelar cobrança avulsa", "originalRequest": { "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/charges\/1\/myId", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "charges", "1", "myId" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Transações", "item": [ { "name": "Listar transações", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions" ] }, "description": "" }, "response": [ { "name": "Response - Listar transações", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/transactions", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "transactions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Carnês e Impressão", "item": [ { "name": "Obter carnê", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/carnes\/onePDF\/none", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "carnes", "onePDF", "none" ] }, "description": "" }, "response": [ { "name": "Response - Obter carnê", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/carnes\/onePDF\/none", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "carnes", "onePDF", "none" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Obter PDF de vários boletos", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/boletos\/charges", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "boletos", "charges" ] }, "description": "" }, "response": [ { "name": "Response - Obter PDF de vários boletos", "originalRequest": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/boletos\/charges", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "boletos", "charges" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Bandeiras de cartões", "item": [ { "name": "Listar Bandeiras", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/card-brands", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "card-brands" ] }, "description": "" }, "response": [ { "name": "Response - Listar Bandeiras", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/card-brands", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "card-brands" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] }, { "name": "Obter pelo bin do cartão", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/card-brands\/471600", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "card-brands", "471600" ] }, "description": "" }, "response": [ { "name": "Response - Obter pelo bin do cartão", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/card-brands\/471600", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "card-brands", "471600" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Configurar Webhooks", "item": [ { "name": "Editar Webhooks", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/webhooks", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "webhooks" ] }, "description": "" }, "response": [ { "name": "Response - Editar Webhooks", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/webhooks", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "webhooks" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] }, { "name": "Formas de Pagamento", "item": [ { "name": "Listar formas de pagamento", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/payment-methods", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "payment-methods" ] }, "description": "" }, "response": [ { "name": "Response - Listar formas de pagamento", "originalRequest": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "[]", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https:\/\/api.sandbox.cel.cash\/v2\/payment-methods", "protocol": "https", "host": [ "api", "sandbox", "cel", "cash\/v2" ], "path": [ "payment-methods" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": { "key": "Content-Type", "value": "application\/json" }, "cookie": [], "body": "[]" } ] } ] } ], "info": { "_postman_id": "c5ee1d84-01ff-48a0-b0fd-7069773e497e", "name": "API cel_payments", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, "protocolProfileBehavior": "", "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{access_token}}", "type": "string" } ] }, "event": [ { "listen": "prerequest", "script": { "type": "text\/javascript", "exec": [ "TestFunctions = {\n getAccessTokenFromResponse: function (response) {\n return response.json().access_token;\n },\n createAccessTokenAll: function () {\n var url = pm.collectionVariables.get(\"HOST\") + \"token\";\n return TestFunctions.getBasicRequestInfo(\"POST\", url, {\n scope: \"customers.read customers.write plans.read plans.write cards.read cards.write subscriptions.read subscriptions.write charges.read charges.write transactions.read transactions.write card-brands.read carnes.read boletos.read webhooks.write\",\n grant_type: \"authorization_code\"\n });\n },\n createAccessToken: function (scope) {\n var json = {\n scope: scope,\n grant_type: \"authorization_code\"\n };\n return {\n url: pm.collectionVariables.get(\"HOST\") + \"token\",\n method: \"POST\",\n header: TestFunctions.getBasicHeaderRequestInfo(),\n body: {\n mode: \"raw\",\n raw: JSON.stringify(json)\n }\n };\n },\n getBasicRequestInfo: function (method, url, json) {\n return {\n url: url,\n method: method,\n header: TestFunctions.getBasicHeaderRequestInfo(),\n body: {\n mode: \"raw\",\n raw: JSON.stringify(json)\n }\n };\n },\n getBasicHeaderRequestInfo: function () {\n const id = pm.collectionVariables.get(\"GALAX_ID\");\n const hash = pm.collectionVariables.get(\"GALAX_HASH\");\n return \"Authorization: Basic \" + btoa(id + \":\" + hash);\n },\n getBearerRequestInfo: function (method, url, json) {\n return {\n url: url,\n method: method,\n header: \"Authorization: Bearer \" + pm.collectionVariables.get(\"access_token\"),\n body: {\n mode: \"raw\",\n raw: JSON.stringify(json)\n }\n };\n }\n};\n\nvar postRequestCreateAccessTokenAll = TestFunctions.createAccessTokenAll();\npm.sendRequest(postRequestCreateAccessTokenAll, (e, response) => {\n var token = TestFunctions.getAccessTokenFromResponse(response);\n pm.collectionVariables.set(\"access_token\", token);\n});\n" ] } } ], "variable": [ { "id": "95b3ad3c-bb8c-412e-838a-4a9e6e6625ee", "key": "GALAX_ID", "value": "5473" }, { "key": "GALAX_HASH", "value": "83Mw5u8988Qj6fZqS4Z8K7LzOo1j28S706R0BeFe" }, { "key": "HOST", "value": "https:\/\/api.sandbox.cel.cash\/v2\/" } ]}