Missing amazon_pay
in CreateInvoicePaymentSettingsPaymentMethodTypes
and InvoicesPaymentSettingsPaymentMethodTypes
#643
Labels
bug
Something isn't working
Describe the bug
Webhook can't deserialize an
invoice.paid
event due to theCreateInvoicePaymentSettingsPaymentMethodTypes
andInvoicesPaymentSettingsPaymentMethodTypes
enums missing anamazon_pay
variant.Error:
To Reproduce
Receive an
invoice.paid
event with the followingpayment_method_types
:Try to deserialize it:
Error:
Expected behavior
CreateInvoicePaymentSettingsPaymentMethodTypes
andInvoicesPaymentSettingsPaymentMethodTypes
should deserializeamazon_pay
Code snippets
No response
OS
Docker debian:bookworm-slim
Rust version
1.82.0
Library version
async-stripe 0.39.1
API version
2023-10-16
Additional context
Our API has been affected by this change on Stripe's side, making it return 400 errors.
The text was updated successfully, but these errors were encountered: