I'm stuck with production payment got bad request error

If you are using our quickstart example you will need to create a .env.production and configure the access token there.