Facturalusa - Software de Facturação Grátis

Subscrição - Plano - Consultar

—

Devolve as informações do plano actual e do pagamento pendente.

URL
https://facturalusa.pt/api/v2/subscription/plan
Método
get
Resposta
200
Resposta exemplo
{
    "current_payment": {
        "unit_price": decimal,
        "net_total": decimal,
        "discount": decimal,
        "total_vat": decimal,
        "grand_total": decimal,
        "payment_type": string,
        "mb_entity": string,
        "mb_reference": string,
        "expires_at": string,
        "paid": boolean,
        "paid_at": string,
        "paid_method": string,
        "resume_billing": decimal,
        "resume_api_requests": integer,
        "max_billing": integer,
        "max_api_requests": integer,
        "updated_at": string,
        "created_at": string,
        "plan": {
            "id": integer,
            "name": string,
            "max_billing": integer,
            "max_api_requests": integer
        }
    },
    "pending_payment": {
        "unit_price": decimal,
        "net_total": decimal,
        "discount": decimal,
        "total_vat": decimal,
        "grand_total": decimal,
        "payment_type": string,
        "payment_mbway_url": string,
        "mb_entity": string,
        "mb_reference": string,
        "max_billing": integer,
        "max_api_requests": integer,
        "updated_at": string,
        "created_at": string,
        "plan": {
            "id": integer,
            "name": string,
            "max_billing": integer,
            "max_api_requests": integer
        }
    }
}

Sugerimos que teste e valide a resposta completa numa plataforma de testes de API como por exemplo Postman ou Insomnia.

🍪 Usamos cookies no nosso site para melhorar a sua experiência. Ao continuar, declara aceitar a nossa Política de Cookies.