Skip to content

feat: filter invoices by due date, and give a verification session a client reference - #367

Merged
Benzilla merged 1 commit into
mainfrom
feat/missing-parameters
Dec 4, 2026
Merged

Benzilla merged 1 commit into
mainfrom
feat/missing-parameters

Conversation

@Benzilla

@Benzilla Benzilla commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Description

Three small things Stripe has and the API lacked or left untested.

  • The list of invoices takes a due_date filter, an exact timestamp or a range.
  • An identity verification session takes a client_reference_id when it is created, returns it, and can be listed by it.
  • cancellation_details on a subscription was already taken on update and on cancel. A test now covers details given on an update that is not a cancellation.

Closes #279

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation

How Was This Tested?

  • Unit tests
  • Integration tests
  • Manual testing

An end-to-end test filters invoices by their due date, exactly and with a range. Unit tests create a verification session with and without a client reference and list by it, and store cancellation details on a subscription that is not being cancelled. The end-to-end suite passes with bodies sent as JSON and as forms.

Screenshots (if applicable)

Checklist

  • Self-reviewed my code
  • No new warnings
  • Existing tests still pass
  • Breaking changes are documented above

@Benzilla
Benzilla enabled auto-merge (squash) December 4, 2026 18:39
@Benzilla
Benzilla merged commit 15c6c01 into main Dec 4, 2026
6 checks passed
@Benzilla
Benzilla deleted the feat/missing-parameters branch December 4, 2026 18:42
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.

Add three missing parameters

1 participant