我使用Stripe API,如果我知道客户ID,则需要获取Stripe帐户ID。有办法吗?
答案 0 :(得分:0)
连接帐户后,您可以在OAUTH流程的末尾获得它,请参阅https://stripe.com/docs/connect/standard-accounts之类的东西:
{
"token_type": "bearer",
"stripe_publishable_key": PUBLISHABLE_KEY,
"scope": "read_write",
"livemode": false,
"stripe_user_id": USER_ID, //this is stripe account id
"refresh_token": REFRESH_TOKEN,
"access_token": ACCESS_TOKEN
}