0

我正在尝试向客户添加银行帐户。但我收到以下错误。

Bad Request: 400: Invalid field [card_uri] - "/v1/marketplaces/TEST-MP29J5STPtZVvnjAFndM0N62/bank_accounts/BA7bk9dLT3My3fhAmZejgrKq" does not resolve to card Your request id is .....

已成功添加银行帐户。

Python Code

customer = balanced.Customer().save()
customer.add_card('/v1/marketplaces/TEST-MP29J5STPtZVvnjAFndM0N62/bank_accounts/BA7bk9dLT3My3fhAmZejgrKq')

Javascript 初始化

/balanced.init('/v1/marketplaces/TEST-MP29J5STPtZVvnjAFndM0N62/',{'debug': true});

谢谢

4

1 回答 1

1

错误消息说:

/v1/marketplaces/TEST-MP29J5STPtZVvnjAFndM0N62/bank_accounts/BA7bk9dLT3My3fhAmZejgrKq" 无法解析到卡

你正在做一个:

customer.add_card('/v1/marketplaces/TEST-MP29J5STPtZVvnjAFndM0N62/bank_accounts/BA7bk9dLT3My3fhAmZejgrKq')

你应该这样做:

customer.add_bank_account('/v1/marketplaces/TEST-MP29J5STPtZVvnjAFndM0N62/bank_accounts/BA7bk9dLT3My3fhAmZejgrKq')
于 2013-07-12T06:17:02.160 回答