#Monkey D. Luffy-mock
1 messages · Page 1 of 1 (latest)
hi! not any great way, depends overall what you're trying to do. One option is to run an instance of https://github.com/stripe/stripe-mock and then configure the library to use that instead of api.stripe.com (you can set stripe.api_base )
that's what we use for testing the library itself for instance https://github.com/stripe/stripe-python/blob/fb2a6d3b7c44d297ee4b0c3a925c86df11dc0e73/tests/test_integration.py#L41
I am using several stripe APIs In my API to process payments, creating customer, generating paymenthod.