Skip to main content

Collection Postman

{
	"info": {
		"_postman_id": "5ee0f7e7-15b7-4fd1-957f-3607e43aba5e",
		"name": "API FOKUS",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "7489519"
	},
	"item": [
		{
			"name": "Autenticação",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"token\", response[\"token\"]);"
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "basic",
					"basic": [
						{
							"key": "password",
							"value": "{{password}}",
							"type": "string"
						},
						{
							"key": "username",
							"value": "{{username}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Basic dGFpcy5zaWx2YUBsaW5rYy5jb20uYnI6KzQ0L2ZDUWloT082RWg3Qg==",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/auth/login",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"auth",
						"login"
					]
				}
			},
			"response": []
		},
		{
			"name": "Localiza estadia por localizador",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"transacao_id\", response[\"estadia\"][\"transacao_id\"]);\r",
							"\r",
							"if (!response[\"estadia\"][\"transacao_id\"]) {\r",
							"    throw new Error('TICKET DENTRO DO PERÍODO DE CARÊNCIA')\r",
							"}"
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/estadias?localizador=ABCDEF",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"estadias"
					],
					"query": [
						{
							"key": "localizador",
							"value": "ABCDEF"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Localiza estadia por localizador enviando parceiro_id para cálculo",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"transacao_id\", response[\"estadia\"][\"transacao_id\"]);\r",
							"\r",
							"if (!response[\"estadia\"][\"transacao_id\"]) {\r",
							"    throw new Error('TICKET DENTRO DO PERÍODO DE CARÊNCIA')\r",
							"}\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/estadias?localizador=XYZ1234&parceiro_id={{parceiro_id}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"estadias"
					],
					"query": [
						{
							"key": "localizador",
							"value": "XYZ1234"
						},
						{
							"key": "parceiro_id",
							"value": "{{parceiro_id}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Fatura estadia com Cartão de Crédito Cielo",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();",
							"pm.collectionVariables.set(\"estadia_faturamento_id\", response[\"estadia_faturamento\"][\"id\"]);",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"transacao_id\": \"{{transacao_id}}\",\n    \"cartao_credito\": {\n        \"validade\": \"06/2029\",\n        \"numero\": \"1234432112344321\",\n        \"portador\": \"Daniele Ramos Rocha\",\n        \"tokeniza\": false,\n        \"bandeira\": \"master\",\n        \"codigo_seguranca\": \"022\"\n    }\n}"
				},
				"url": {
					"raw": "{{host}}/api/estadias_faturamentos",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"estadias_faturamentos"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta faturamento de estadias",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/estadias_faturamentos",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"estadias_faturamentos"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta faturamento de estadias por id",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/estadias_faturamentos/{{estadia_faturamento_id}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"estadias_faturamentos",
						"{{estadia_faturamento_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Lista modalidades",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"modalidade_id\", response[\"modalidades\"][0][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/modalidades",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"modalidades"
					]
				}
			},
			"response": []
		},
		{
			"name": "Lista planos",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_id\", response[\"planos\"][0][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos"
					]
				}
			},
			"response": []
		},
		{
			"name": "Lista parceiros",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"parceiro_id\", response[\"parceiros\"][0][\"id\"]);"
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/parceiros",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"parceiros"
					]
				}
			},
			"response": []
		},
		{
			"name": "Cadastra pessoa",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"pessoa_documento\", response[\"pessoa\"][\"documento\"]);"
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"nome\": \"MARIA VITÓRIA OLIVEIRA\",\n  \"email\": \"teste@teste.com\",\n  \"documento\": \"52346684449\",\n  \"logradouro\": \"RUA TESTE\",\n  \"numero\": \"1\",\n  \"complemento\": \"SL 03\",\n  \"bairro\": \"BAIRRO\",\n  \"cidade\": \"CAMPINAS\",\n  \"uf\": \"SP\",\n  \"cep\": \"13045230\",\n  \"telefone\": \"11999999999\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{host}}/api/pessoas",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"pessoas"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta pessoa por documento (CPF/CNPJ)",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/pessoas/{{pessoa_documento}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"pessoas",
						"{{pessoa_documento}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Cadastra/Atualiza imagem facial da pessoa",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"face\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{host}}/api/pessoas/{{pessoa_documento}}/facial",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"pessoas",
						"{{pessoa_documento}}",
						"facial"
					]
				}
			},
			"response": []
		},
		{
			"name": "Cadastra contrato de plano",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_contrato_id\", response[\"plano_contrato\"][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"nome\": \"teste\",\n  \"documento\": \"88863993084\",\n  \"qtd_vagas\": 1,\n  \"valido_de\": \"2025-05-08 20:00:00\",\n  \"vencimento\": \"2025-05-09 20:00:00\",\n  \"plano_id\": \"51fa90f2-f4c1-474e-bca8-9f34ac016c7c\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{host}}/api/planos_contratos",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos"
					]
				}
			},
			"response": []
		},
		{
			"name": "Cadastra contrato de plano e gera chave",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_contrato_id\", response[\"plano_contrato\"][\"id\"]);\r",
							"pm.collectionVariables.set(\"chave\", response[\"plano_contrato\"][\"chaves\"][0]);\r",
							"\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"nome\": \"teste\",\n  \"documento\": \"68852604014\",\n  \"qtd_vagas\": 1,\n  \"valido_de\": \"2025-05-08 20:00:00\",\n  \"vencimento\": \"2025-05-09 20:00:00\",\n  \"plano_id\": \"51fa90f2-f4c1-474e-bca8-9f34ac016c7c\",\n  \"gerar_chave\": true\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{host}}/api/planos_contratos",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta contrato de plano com valor para pagamento",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_contrato_id\", response[\"plano_contrato\"][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos_contratos/{{plano_contrato_id}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos",
						"{{plano_contrato_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta contrato de plano através do documento",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_contrato_id\", response[\"plano_contrato\"][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos_contratos?documento={{documento}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos"
					],
					"query": [
						{
							"key": "documento",
							"value": "{{documento}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta chave de contrato de plano",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_contrato_id\", response[\"plano_contrato\"][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos_contratos_chaves/:chave",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos_chaves",
						":chave"
					],
					"variable": [
						{
							"key": "chave",
							"value": "{{chave}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta chave de contrato de plano e documento",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();\r",
							"pm.collectionVariables.set(\"plano_contrato_id\", response[\"plano_contrato\"][\"id\"]);\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos_contratos_chaves/:chave/:documento",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos_chaves",
						":chave",
						":documento"
					],
					"variable": [
						{
							"key": "chave",
							"value": "{{chave}}"
						},
						{
							"key": "documento",
							"value": "{{documento}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Fatura contrato de plano com Cartão de Crédito Cielo",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();",
							"pm.collectionVariables.set(\"plano_contrato_faturamento_id\", response[\"plano_contrato_faturamento\"][\"id\"]);",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"plano_contrato_id\": \"{{plano_contrato_id}}\",\n    \"cartao_credito\": {\n        \"validade\": \"06/2029\",\n        \"numero\": \"1234432112344321\",\n        \"portador\": \"Daniele Ramos Rocha\",\n        \"tokeniza\": false,\n        \"bandeira\": \"master\",\n        \"codigo_seguranca\": \"022\"\n    }\n}"
				},
				"url": {
					"raw": "{{host}}/api/planos_contratos_faturamentos",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos_faturamentos"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta faturamento de contrato de plano",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();",
							"pm.collectionVariables.set(\"plano_contrato_faturamento_id\", response[\"plano_contrato_faturamento\"][\"id\"]);",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos_contratos_faturamentos/{{plano_contrato_faturamento_id}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos_faturamentos",
						"{{plano_contrato_faturamento_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta faturamento de contrato de plano através do plano_contrato_id",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var response = pm.response.json();",
							"pm.collectionVariables.set(\"plano_contrato_faturamento_id\", response[\"plano_contrato_faturamento\"][\"id\"]);",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{host}}/api/planos_contratos_faturamentos?plano_contrato_id={{plano_contrato_id}}",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos_faturamentos"
					],
					"query": [
						{
							"key": "plano_contrato_id",
							"value": "{{plano_contrato_id}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Consulta pagamento de plano",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/vnd.linkc.com.br; version=1",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "Bearer {{token}}",
						"type": "text"
					},
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"plano_contrato_id\": \"{{plano_contrato_id}}\",\n    \"cartao_credito\": {\n        \"validade\": \"06/2029\",\n        \"numero\": \"1234432112344321\",\n        \"portador\": \"Daniele Ramos Rocha\",\n        \"tokeniza\": false,\n        \"bandeira\": \"master\",\n        \"codigo_seguranca\": \"022\"\n    }\n}"
				},
				"url": {
					"raw": "{{host}}/api/planos_contratos_faturamentos/:plano_contrato_faturamento_id",
					"host": [
						"{{host}}"
					],
					"path": [
						"api",
						"planos_contratos_faturamentos",
						":plano_contrato_faturamento_id"
					],
					"variable": [
						{
							"key": "plano_contrato_faturamento_id",
							"value": "{{plano_contrato_faturamento_id}}"
						}
					]
				}
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "host",
			"value": "https://demo.linkc.dev.br",
			"type": "string"
		},
		{
			"key": "username",
			"value": "",
			"type": "string"
		},
		{
			"key": "password",
			"value": "",
			"type": "string"
		},
		{
			"key": "token",
			"value": "",
			"type": "string"
		},
		{
			"key": "transacao_id",
			"value": ""
		},
		{
			"key": "host_internal",
			"value": "",
			"type": "string"
		},
		{
			"key": "plano_contrato_id",
			"value": ""
		},
		{
			"key": "chave",
			"value": "",
			"type": "string"
		},
		{
			"key": "documento",
			"value": "",
			"type": "string"
		},
		{
			"key": "plano_id",
			"value": ""
		},
		{
			"key": "pessoa_documento",
			"value": ""
		},
		{
			"key": "parceiro_id",
			"value": ""
		},
		{
			"key": "modalidade_id",
			"value": ""
		},
		{
			"key": "plano_contrato_faturamento_id",
			"value": ""
		},
		{
			"key": "estadia_faturamento_id",
			"value": ""
		}
	]
}