Shopify and stripe account not valid

Shopify Partner
2 0 0



I'm creating an app to buy using the Rest API. I do complete the checkout and Shopify returns a value called "shopify_payment_accont_id". This value is supposed to contain an account number that I can send to stripe to get a token so I can complete the payment process.


The problem is that the value is not valid.


POST /v1/tokens HTTP/1.1
Authorization: my_stripe_secret_key
Stripe-Account: shopify_payment_account_id_value
Content-Type: application/x-www-form-urlencoded

    "card": {
        "number": "card_number",
        "exp_month": xx,
        "exp_year": xxxx,
        "cvc": xxx


    "error": {
        "code": "account_invalid",
        "doc_url": "",
        "message": "The provided key 'my_stripe_secret_key' 
 does not have access to account 'shopify_payment_account_id_value' (or that account does not exist). Application access may have been revoked.",
        "type": "invalid_request_error"

And this is happening with all the stores since two months ago. It was working really well before.



Replies 0 (0)