每次运行代码时都会出现此错误。
active_id
我正在使用Alamofire来实现这一目标,下面是我所制作的代码。
SUCCESS: {
error = {
message = "Invalid request (check that your POST content type is application/x-www-form-urlencoded). If you have any questions, we can help at https://support.stripe.com/.";
type = "invalid_request_error";
};
}
答案 0 :(得分:0)
in docs i read that this is a GET request - not a POST request to this endpoint
https://stripe.com/docs/connect/managed-accounts
curl https://api.stripe.com/v1/accounts \
-u {PLATFORM_SECRET_KEY}: \
-d country=US \
-d managed=true
btw: why not did you try to use the stripe SDK: https://stripe.com/docs/mobile/ios