Storefront API + stripe token + bogus payment gateway

Hi all!

We are building our web store using Storefront API. We also want to implement our checkout interface. We are based in Finland so we can’t use Shopify Payments. But as I understood we still can use Stripe. So I use Stripe Elements to tokenize card and send this token as vaultId parameter to the checkoutCompleteWithCreditCardV2 endpoint. We use Bogus payment gateway besause our store is under development yet. The problem is that I’m getting “CheckoutCompleteWithCreditCardV2 access denied” from Shopify. Can you please help me, what I’m doing wrong? Is it possible to get paid throught the Storefront API? Or maybe I can’t use Stripe tokens with any other payment gateway beside Stripe?

We’ve changed payment gateway from Bogus to Stripe and set up Connect integration using custom account. I still get “CheckoutCompleteWithCreditCardV2 access denied”. I’ve created charge to test Stripe account like Stripe docs say:

curl https://api.stripe.com/v1/charges \
  -u public_stripe_token: \
  -d amount=1000 \
  -d currency=eur \
  -d source=tok_visa \
  -d transfer_data[destination]="{CONNECTED_STRIPE_ACCOUNT_ID}"

and charge was created successfully. So I guess the problem is not with Stripe account, but with Shopify.