Order finished

{
  "id": "c2199c0d11435c00b9b927d01944422f",
  "data": {
    "id": "12345",
    "url": "https://pague.lia.com.br/lia/pedido?order_id=12345",
    "email": {
      "id": "12345",
      "address": "testcustomer@hotmail.com",
      "purpose": "communication",
      "validated": false,
      "created_at": "2024-07-19T15:17:07.308-03:00",
      "updated_at": "2024-07-19T15:17:07.308-03:00",
      "contact_type": "email"
    },
    "offer": {
      "id": "12345",
      "name": "Test offer",
      "product": {
        "id": "12345",
        "name": "Test product",
        "description": ""
      },
      "amount_cents": 166000
    },
    "phone": {
      "id": "12345",
      "address": "5512987654321",
      "purpose": "communication",
      "validated": true,
      "created_at": "2024-07-19T15:17:07.297-03:00",
      "updated_at": "2024-07-19T15:17:51.771-03:00",
      "contact_type": "phone"
    },
    "status": "finished",
    "address": {
      "id": "12345",
      "city": {
        "id": "12345",
        "name": "Fortaleza",
        "state": {
          "id": "12345",
          "name": "CearĂ¡",
          "acronym": "CE"
        },
        "state_id": "12345",
        "ibge_code": "2304400"
      },
      "number": "1234",
      "street": "Rua Venezuela",
      "zipcode": "60420530",
      "complement": null,
      "neighborhood": "Montese"
    },
    "contact": {
      "email": "testcustomer@hotmail.com",
      "phone": "5512987654321"
    },
    "analyses": [
      {
        "id": "12345",
        "kind": "blacklist_customer",
        "status": "approved",
        "created_at": "2024-07-19T15:17:07.362-03:00",
        "denied_reason": null
      },
      {
        "id": "12346",
        "kind": "identity",
        "status": "approved",
        "created_at": "2024-07-19T15:17:07.397-03:00",
        "denied_reason": null
      },
      {
        "id": "12347",
        "kind": "defaulting_customer",
        "status": "approved",
        "created_at": "2024-07-19T15:17:07.707-03:00",
        "denied_reason": null
      }
    ],
    "billings": [
      {
        "id": "12345",
        "bills": [
          {
            "id": "12345",
            "status": "paid",
            "paid_at": "2024-07-23T04:07:50.626-03:00",
            "due_date": "2024-07-22T23:59:59.999-03:00",
            "payments": [
              {
                "id": "12345",
                "url": "https://https://pague.lia.com.br/parcela/pagamento?bill_id=12345",
                "status": "paid",
                "barcode": "00000.00000 00000.000000 00000.000000 0 00000000000000",
                "paid_at": "2024-07-23T04:07:14.271-03:00",
                "created_at": "2024-07-19T15:18:05.289-03:00",
                "expires_at": "2024-07-22T23:59:59.999-03:00",
                "refunded_at": null,
                "amount_cents": 16600,
                "installments": 1,
                "payment_method": "boleto",
                "refused_reason": null,
                "barcode_image_url": "https://platform-api.lia.com.br/barcode_image",
                "paid_amount_cents": 16600,
                "refunded_amount_cents": 0,
                "refused_reason_description": null
              }
            ],
            "bill_type": "down_payment",
            "created_at": "2024-07-19T15:18:02.253-03:00",
            "updated_at": "2024-07-23T04:07:50.647-03:00",
            "amount_cents": 16600,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=12345",
            "effective_due_date": "2024-07-22T23:59:59.999-03:00",
            "authentication_code": "2007838b07dc011d03997f8e1e1f4b32",
            "current_amount_cents": 16600,
            "original_amount_cents": 16600,
            "disable_penalties_until": null
          },
          {
            "id": "12346",
            "status": "pending",
            "paid_at": null,
            "due_date": "2024-08-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:02.383-03:00",
            "updated_at": "2024-07-19T15:18:02.383-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=12346",
            "effective_due_date": "2024-08-12T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2024-08-10T23:59:59.999-03:00"
          },
          {
            "id": "12347",
            "status": "pending",
            "paid_at": null,
            "due_date": "2024-09-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:02.514-03:00",
            "updated_at": "2024-07-19T15:18:02.514-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=12347",
            "effective_due_date": "2024-09-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2024-09-10T23:59:59.999-03:00"
          },
          {
            "id": "12348",
            "status": "pending",
            "paid_at": null,
            "due_date": "2024-10-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:02.667-03:00",
            "updated_at": "2024-07-19T15:18:02.667-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=12348",
            "effective_due_date": "2024-10-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2024-10-10T23:59:59.999-03:00"
          },
          {
            "id": "12349",
            "status": "pending",
            "paid_at": null,
            "due_date": "2024-11-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:02.798-03:00",
            "updated_at": "2024-07-19T15:18:02.798-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=12349",
            "effective_due_date": "2024-11-11T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2024-11-10T23:59:59.999-03:00"
          },
          {
            "id": "123410",
            "status": "pending",
            "paid_at": null,
            "due_date": "2024-12-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:02.972-03:00",
            "updated_at": "2024-07-19T15:18:02.972-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123410",
            "effective_due_date": "2024-12-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2024-12-10T23:59:59.999-03:00"
          },
          {
            "id": "123411",
            "status": "pending",
            "paid_at": null,
            "due_date": "2025-01-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:03.123-03:00",
            "updated_at": "2024-07-19T15:18:03.123-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123411",
            "effective_due_date": "2025-01-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2025-01-10T23:59:59.999-03:00"
          },
          {
            "id": "123412",
            "status": "pending",
            "paid_at": null,
            "due_date": "2025-02-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:03.259-03:00",
            "updated_at": "2024-07-19T15:18:03.259-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123412",
            "effective_due_date": "2025-02-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2025-02-10T23:59:59.999-03:00"
          },
          {
            "id": "123413",
            "status": "pending",
            "paid_at": null,
            "due_date": "2025-03-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:03.474-03:00",
            "updated_at": "2024-07-19T15:18:03.474-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123413",
            "effective_due_date": "2025-03-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2025-03-10T23:59:59.999-03:00"
          },
          {
            "id": "123414",
            "status": "pending",
            "paid_at": null,
            "due_date": "2025-04-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:03.632-03:00",
            "updated_at": "2024-07-19T15:18:03.632-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123414",
            "effective_due_date": "2025-04-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2025-04-10T23:59:59.999-03:00"
          },
          {
            "id": "123415",
            "status": "pending",
            "paid_at": null,
            "due_date": "2025-05-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:03.772-03:00",
            "updated_at": "2024-07-19T15:18:03.772-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123415",
            "effective_due_date": "2025-05-12T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2025-05-10T23:59:59.999-03:00"
          },
          {
            "id": "123416",
            "status": "pending",
            "paid_at": null,
            "due_date": "2025-06-10T23:59:59.999-03:00",
            "payments": [],
            "bill_type": "installment",
            "created_at": "2024-07-19T15:18:03.900-03:00",
            "updated_at": "2024-07-19T15:18:03.900-03:00",
            "amount_cents": 16595,
            "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=123416",
            "effective_due_date": "2025-06-10T23:59:59.999-03:00",
            "authentication_code": null,
            "current_amount_cents": 16595,
            "original_amount_cents": 16595,
            "disable_penalties_until": "2025-06-10T23:59:59.999-03:00"
          }
        ],
        "status": "active",
        "due_day": 10,
        "created_at": "2024-07-19T15:18:02.203-03:00",
        "updated_at": "2024-07-23T04:07:50.687-03:00",
        "finished_at": null,
        "amount_cents": 199145,
        "installments": 12,
        "amount_currency": "BRL",
        "origin_billing_id": null,
        "cancelation_reason": null,
        "payment_configuration": {
          "id": "12345",
          "expires_in": 72,
          "availability": "enabled",
          "payment_type": "financed",
          "financed_type": "bolepix",
          "interest_rate": 0.031,
          "take_rate_type": "percentage",
          "payment_methods": [
            "credit_card",
            "boleto",
            "pix"
          ],
          "take_rate_value": 0.0599,
          "max_installments": 12,
          "registration_fee": 0.0199,
          "down_payment_type": "absolute",
          "down_payment_value": 13296.6,
          "down_payment_interest_rate": 0.0299,
          "allowed_down_payment_methods": [
            "pix",
            "boleto",
            "credit_card"
          ],
          "min_installment_amount_cents": 8000,
          "max_down_payment_installments": 4
        }
      }
    ],
    "metadata": {"utm_params": {"utm_source": "client_source"}},
    "created_at": "2024-07-19T15:17:07.285-03:00",
    "updated_at": "2024-07-23T04:07:50.746-03:00",
    "finished_at": "2024-07-23T04:07:50.705-03:00",
    "customer_name": "Test customer",
    "customer_type": "person",
    "customer_document": "01234567890",
    "cancelation_reason": null,
    "customer_birthdate": "1997-06-08",
    "translated_cancelation_reason": null
  },
  "event": "finished",
  "entity": "order",
  "api_version": "1.0"
}