#Shaun - Mock data
1 messages · Page 1 of 1 (latest)
Hi 👋
I'm not familiar with stripe-mock off the top of my head
Do you have any documentation handy?
Wait..found it
From the README
stripe-mock is able to generate an approximately correct API response for any endpoint, but the logic for doing so is still quite naive
If you want very specific behaviors you may need to create a Stripe Account and use Test mode. But I'm still looking to see if you can configure the fixtures used.
Testing for specific responses and errors is currently not supported.
I think this means you won't be able to configure the data returned at this point.
This might not be officially supported but I suppose you could try modifying the fixtures3.json file
https://github.com/stripe/stripe-mock/blob/master/openapi/fixtures3.json#L553-L604