Skip to content

feat(invoice): add web_url to invoice response models - #413

Merged
ancorcruz merged 1 commit into
mainfrom
feat/invoice-web-url
Aug 21, 2026
Merged

feat(invoice): add web_url to invoice response models#413
ancorcruz merged 1 commit into
mainfrom
feat/invoice-web-url

Conversation

@ancorcruz

Copy link
Copy Markdown
Contributor

Context

The invoice API object exposes a web_url attribute linking to the invoice page in the Lago dashboard, next to file_url (the PDF).

Description

Add web_url as an optional string on InvoiceResponse and on PaymentRequestInvoiceResponse, which mirrors the same invoice base object. Without it pydantic silently drops the field from the parsed response.

## Context

The invoice API object exposes a web_url attribute linking to the invoice
page in the Lago dashboard, next to file_url (the PDF).

## Description

Add web_url as an optional string on InvoiceResponse and on
PaymentRequestInvoiceResponse, which mirrors the same invoice base object.
Without it pydantic silently drops the field from the parsed response.
@ancorcruz ancorcruz self-assigned this Aug 10, 2026

@osmarluz osmarluz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@ancorcruz
ancorcruz merged commit 27e6354 into main Aug 21, 2026
7 checks passed
@ancorcruz
ancorcruz deleted the feat/invoice-web-url branch August 21, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants