首页 文章

使用source_transaction传输时出错

提问于
浏览
0

我'm trying to charge money into a stripe managed (connected) account and then immediately transfer it from the managed account to the bank account of the user. To achieve this I'm利用source_transfer参数来延迟实际支付,直到收到钱 . (记录在这里:https://stripe.com/docs/connect/charges-transfers#transfer-availability

我正在使用以下帖子参数向https://api.stripe.com/v1/transfers发送请求: { source_transaction -> ch_19vkgRJ6y4jvjvHhnBdw8qeT, amount -> 44444, metadata[caseId] -> StripeAdapterIT-1489140548878_762, currency -> eur, destination -> default_for_currency }

问题是我收到以下错误:

{
  "error": {
    "type": "invalid_request_error",
    "message": "No such transaction: ch_19vkgRJ6y4jvjvHhnBdw8qeT",
    "param": "source_transaction"
  }
}

我在几秒钟之前收到了充电ID并且可以在(测试)仪表板中看到它,所以我知道它存在 .

为什么我的要求未能说无法收费?

1 回答

相关问题