Billing finished

{
  "id": "60bf341fbb8ce6eb53311cf8e474123",
  "data": {
    "id": "12345",
    "bills": [
      {
        "id": "12345",
        "status": "paid",
        "paid_at": "2024-07-22T20:27:17.322-03:00",
        "due_date": "2024-07-20T23:59:59.999-03:00",
        "payments": [
          {
            "id": "12345",
            "url": "https://https://pague.lia.com.br/parcela/pagamento?bill_id=12345",
            "status": "unpaid",
            "barcode": "00000.00000 00000.000000 00000.000000 0 00000000000000",
            "paid_at": null,
            "created_at": "2024-06-30T21:10:59.292-03:00",
            "expires_at": "2024-07-22T23:59:59.999-03:00",
            "refunded_at": null,
            "amount_cents": 83000,
            "installments": 1,
            "payment_method": "boleto",
            "refused_reason": null,
            "barcode_image_url": "https://platform-api.lia.com.br/barcode_image",
            "paid_amount_cents": 0,
            "refunded_amount_cents": 0,
            "refused_reason_description": null
          },
          {
            "id": "12346",
            "url": "https://https://pague.lia.com.br/parcela/pagamento?bill_id=12345",
            "status": "unpaid",
            "barcode": "pix-string-copy-paste",
            "paid_at": null,
            "created_at": "2024-07-10T10:22:29.328-03:00",
            "expires_at": "2024-07-22T23:59:59.999-03:00",
            "refunded_at": null,
            "amount_cents": 83000,
            "installments": 1,
            "payment_method": "pix",
            "refused_reason": null,
            "barcode_image_url": "https://platform-api.lia.com.br/barcode_image",
            "paid_amount_cents": 0,
            "refunded_amount_cents": 0,
            "refused_reason_description": null
          },
          {
            "id": "12347",
            "url": "https://https://pague.lia.com.br/parcela/pagamento?bill_id=12345",
            "status": "paid",
            "barcode": null,
            "paid_at": "2024-07-22T20:27:17.179-03:00",
            "created_at": "2024-07-22T20:27:17.106-03:00",
            "expires_at": "2024-07-22T23:59:59.999-03:00",
            "refunded_at": null,
            "amount_cents": 83000,
            "installments": 1,
            "payment_method": "credit_card",
            "refused_reason": null,
            "barcode_image_url": null,
            "paid_amount_cents": 83000,
            "refunded_amount_cents": 0,
            "refused_reason_description": null
          }
        ],
        "bill_type": "down_payment",
        "created_at": "2024-06-17T17:14:49.491-03:00",
        "updated_at": "2024-07-22T20:27:17.334-03:00",
        "amount_cents": 83000,
        "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": "12234567890",
        "current_amount_cents": 83000,
        "original_amount_cents": 83000,
        "disable_penalties_until": "2024-07-20T23:59:59.999-03:00"
      },
      {
        "id": "12346",
        "status": "paid",
        "paid_at": "2024-07-22T20:27:17.322-03:00",
        "due_date": "2024-05-10T23:59:59.999-03:00",
        "payments": [
          {
            "id": "12348",
            "url": "https://https://pague.lia.com.br/parcela/pagamento?bill_id=12346",
            "status": "paid",
            "barcode": null,
            "paid_at": "2024-07-22T20:27:17.179-03:00",
            "created_at": "2024-07-22T20:27:17.106-03:00",
            "expires_at": "2024-07-22T23:59:59.999-03:00",
            "refunded_at": null,
            "amount_cents": 83000,
            "installments": 1,
            "payment_method": "credit_card",
            "refused_reason": null,
            "barcode_image_url": null,
            "paid_amount_cents": 83000,
            "refunded_amount_cents": 0,
            "refused_reason_description": null
          }
        ],
        "bill_type": "installment",
        "created_at": "2024-04-05T15:55:20.241-03:00",
        "updated_at": "2024-04-05T15:55:20.241-03:00",
        "amount_cents": 83000,
        "checkout_url": "https://pague.lia.com.br/parcela/pagamento?bill_id=12346",
        "effective_due_date": "2024-05-10T23:59:59.999-03:00",
        "authentication_code": "12234567890",
        "original_amount_cents": 83000
      },
    ],
    "offer": {
      "id": "12345",
      "name": "Oferta de teste",
      "product": {
        "id": "12345",
        "name": "Produto de teste",
        "description": "Teste este produto"
      },
      "amount_cents": 166000
    },
    "status": "finished",
    "contact": {
      "email": "test@gmail.com",
      "phone": "5512987654321"
    },
    "due_day": 10,
    "created_at": "2024-04-05T15:55:20.082-03:00",
    "updated_at": "2024-04-05T15:55:20.082-03:00",
    "finished_at": "2024-04-05T15:55:20.082-03:00",
    "amount_cents": 166000,
    "installments": 2,
    "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,
      "take_rate_type": "percentage",
      "payment_methods": [
        "credit_card",
        "boleto",
        "pix"
      ],
      "take_rate_value": 0.0817,
      "max_installments": 12,
      "registration_fee": 0.0257,
      "down_payment_type": "absolute",
      "down_payment_value": 12333.8,
      "allowed_down_payment_methods": [
        "pix",
        "boleto",
        "credit_card"
      ],
      "min_installment_amount_cents": 8000,
      "max_down_payment_installments": 1
    }
  },
  "event": "finished",
  "entity": "billing",
  "api_version": "1.0"
}