#cliftonm

1 messages · Page 1 of 1 (latest)

vast pivotBOT
pastel jewel
#

o you have the request ID of a time that you got this error? (req_123)

drowsy solar
#

req_DLt7uYVEJC1sil

pastel jewel
#
--header 'Authorization: Basic sk_mode_1234...' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'amount=2000' \
--data-urlencode 'currency=usd' \
--data-urlencode 'payment_method_types[]='card' \ 
--data-urlencode 'payment_method_types[]='us_bank_account'```
#

If you pasted your actual secret key in the main channel, I would recommend rolling your key in the dashboard. This server is public so anyone could potentially take that key and use it

drowsy solar
#

Yes - that curl though comes from the example curl in your docs, which I realized might be part of the problem - it's not my actual key.

#

I'll retest with my key, given that on my dashboard ACH is enabled for that key.

pastel jewel
#

The error is coming from your syntax, like Tices said in the main channel, your original command was passing the array as a string rather than an array of strings. I think you need to break it in to two separate lines like in my example (@polar vessel thanks for the assist by the way)

drowsy solar
#

ok, thank you both for your help! I will give that a try.

#

Hah! That worked! Thank you again!