Get offer

GET

GET https://platform-api.lia.com.br/external_api/v1/offers/:id

Example request

curl --location 'https://platform-api-sandbox.lia.com.br/external_api/v1/offers/764e20fd-5530-4bcd-a408-b109b0505a48' \
--header 'Authorization: Bearer token'

Example response

{
    "amount_cents": 100000,
    "amount_currency": "BRL",
    "availability": "enabled",
    "created_at": "2023-11-29T10:32:42.765-03:00",
    "id": "764e20fd-5530-4bcd-a408-b109b0505a48",
    "name": "Padrão",
    "payment_configurations": [
        {
            "allowed_down_payment_methods": [],
            "availability": "enabled",
            "down_payment_type": null,
            "down_payment_value": 0.0,
            "expires_in": 12,
            "financed_type": null,
            "id": "d918747c-5893-4086-86fd-1bbf703c801e",
            "interest_rate": 0.0,
            "max_down_payment_installments": null,
            "max_installments": 1,
            "min_installment_amount_cents": 5000,
            "payment_methods": [
                "pix"
            ],
            "payment_type": "upfront",
            "registration_fee": 0.0,
            "take_rate_type": "absolute",
            "take_rate_value": 297.0
        },
        {
            "allowed_down_payment_methods": [],
            "availability": "enabled",
            "down_payment_type": null,
            "down_payment_value": 0.0,
            "expires_in": null,
            "financed_type": null,
            "id": "bb7c7712-4c4f-4a41-baf2-db6346ed9ff4",
            "interest_rate": 0.028,
            "max_down_payment_installments": null,
            "max_installments": 12,
            "min_installment_amount_cents": 5000,
            "payment_methods": [
                "credit_card"
            ],
            "payment_type": "upfront",
            "registration_fee": 0.0,
            "take_rate_type": "percentage",
            "take_rate_value": 0.0297
        },
        {
            "allowed_down_payment_methods": [
                "boleto",
                "pix",
                "credit_card"
            ],
            "availability": "enabled",
            "down_payment_type": "percentage",
            "down_payment_value": 0.1,
            "expires_in": 12,
            "financed_type": null,
            "id": "a12d5381-81ba-4784-a4c6-588e22de850e",
            "interest_rate": 0.028,
            "max_down_payment_installments": 12,
            "max_installments": 24,
            "min_installment_amount_cents": 5000,
            "payment_methods": [
                "boleto",
                "credit_card",
                "pix"
            ],
            "payment_type": "financed",
            "registration_fee": 0.0197,
            "take_rate_type": "percentage",
            "take_rate_value": 0.0897
        }
    ],
    "product": {
        "access_period": "lifetime",
        "availability": "enabled",
        "banner_url": null,
        "company_id": "80d5f5dd-f4d4-43fa-ad1d-3cab56c4c83a",
        "created_at": "2023-11-29T10:32:42.753-03:00",
        "description": "Produto da alegria.",
        "duration_in_days": null,
        "duration_in_hours": 12,
        "end_date": null,
        "formatted_access_period": "Vitalício",
        "full_amount_cents": 100000,
        "full_amount_currency": "BRL",
        "google_pixel_code": null,
        "id": "4a23ce53-4a75-42ac-972e-eb7ab7ac8fa9",
        "kind": {
            "id": "8c698af6-7782-4f04-87b9-e78357f25a00",
            "name": "João Luca do Prado Neto"
        },
        "meta_pixel_code": null,
        "metadata": {},
        "name": "Arts 147",
        "shift": {
            "id": "021fa9fd-0e43-4638-80aa-4a8b598fbcd6",
            "name": "Norberto Martim"
        },
        "start_date": null,
        "updated_at": "2023-11-29T10:32:42.753-03:00"
    },
    "updated_at": "2023-11-29T10:32:42.765-03:00",
    "url": "https://pague-sandbox.lia.com.br/lia/oferta?offer_id=714e20fd-5530-4bcd-a408-b109b0505a48"
}