Skip to content

fix(customers): allow string '0'/'1' for fail_existing in types - #497

Open
gopi-701 wants to merge 1 commit into
razorpay:masterfrom
gopi-701:fix/customer-fail-existing-typing
Open

gopi-701 wants to merge 1 commit into
razorpay:masterfrom
gopi-701:fix/customer-fail-existing-typing

Conversation

@gopi-701

Copy link
Copy Markdown

Update TypeScript typings for customers.create to allow '0' and '1' as strings, matching the API behavior and documentation.

Fixes #463.

The API accepts '0' and '1' as strings (as documented). Update the
TypeScript typings to match the actual API behavior.
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.

Incorrect TypeScript Typings for fail_existing in customers.create (should allow '0' | '1' strings)

1 participant