Kapitale
    Kapitale
    • Guia de Integração
    • Varejo
      • Buscar informações do varejo por CNPJ
        GET
    • Pedidos
      • Criar um novo pedido
        POST
      • Listar todos os pedidos
        GET
      • Definir pagamento em lote
        PATCH
      • Buscar pedido por ID
        GET
      • Definir nota fiscal de pagamento
        PATCH
      • Buscar pedidos por CNPJ da indústria
        GET
      • Obter estatísticas de pedidos
        GET
      • Cancelar pedido
        PATCH
    • Esquemas
      • CreateOrderRequest
      • RetailInfo
      • CancelOrderRequest
      • Order
      • OrderStatus
      • PaymentStatus
      • FindByIndustryCnpjResponse
      • OrderStatistics
      • Error

    FindByIndustryCnpjResponse

    {
        "data": [
            {
                "id": "550e8400-e29b-41d4-a716-446655440000",
                "order_no": "ORD-2024-001",
                "expiry_date": "2024-12-31T00:00:00.000Z",
                "invoice_number": "123456",
                "invoice": "https://s3.amazonaws.com/bucket/invoice.pdf",
                "commercial_invoice_id": "string",
                "payment_status": "pending",
                "order_status": "pending",
                "requested_amount": 10000.5,
                "paid_amount": 9785.49,
                "payment_approved_date": "2019-08-24T14:15:22.123Z",
                "retail_fee": 0,
                "industry_fee": 0.0215,
                "retail_id": "string",
                "industry_id": "string",
                "payment_denied_reason": "string",
                "liquidated_at": "2019-08-24T14:15:22.123Z",
                "canceled_at": "2019-08-24T14:15:22.123Z",
                "denied_at": "2019-08-24T14:15:22.123Z",
                "retail_email": "string",
                "retail_phone": "string",
                "retail_representative": "string",
                "created_at": "2019-08-24T14:15:22.123Z",
                "updated_at": "2019-08-24T14:15:22.123Z",
                "retail": {
                    "name": "Empresa Varejo LTDA",
                    "cnpj": "98765432000110"
                },
                "industry": {
                    "name": "Empresa Indústria LTDA",
                    "cnpj": "12345678000190"
                }
            }
        ],
        "page": 1,
        "totalPages": 5,
        "limit": 10,
        "count": 50,
        "pendingInvoices": 3
    }
    Built with