#Yajas

1 messages · Page 1 of 1 (latest)

strong spindleBOT
agile trout
#

I'd guess you need to remove the :

#

Or use the -u flag and not -H

pearl breach
#

Tried both @agile trout , does not work

#

As per stripe docs, adding ‘:’ is required to prevent being asked for password

agile trout
#

Yes, but not with the -H header:

curl https://api.stripe.com/v1/charges \
  -u sk_test_4eC39HqLyjWDarjtT:
pearl breach
#

Removed it with the H header, still not working

agile trout
#

I'm not sure then. I guess it's some kind of curl formatting issue on your end

#

Either that or you're using the wrong API key (bad copy/paste)

pearl breach
#

However, the endpoint I wish to access is:

#

And for this endpoint, the issue is persisting

agile trout
#

What's the actual error you see? Because I get:

{
  "error": {
    "message": "Unrecognized request URL (POST: /v1/crypto/onramp_sessions). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
    "type": "invalid_request_error"
  }
}```
#

Which is related to that this is a gated/beta feature

pearl breach
#

I was getting this error previously: : {
"error": {
"message": "Invalid API Key provided: sktest**0qw:",
"type": "invalid_request_error"
}
}

pearl breach
pearl breach
agile trout
#

Then you need to speak to support. Your account doesn't have access: https://support.stripe.com/contact

pearl breach
#

I see, I will get in touch with them right away

#

Thanks a lot for this @agile trout , really appreciate the help!