i trying add bank account customer. getting following error.
bad request: 400: invalid field [card_uri] - "/v1/marketplaces/test-mp29j5stptzvvnjafndm0n62/bank_accounts/ba7bk9dlt3my3fhamzejgrkq" not resolve card request id .....
bank account added.
python code
:
customer = balanced.customer().save() customer.add_card('/v1/marketplaces/test-mp29j5stptzvvnjafndm0n62/bank_accounts/ba7bk9dlt3my3fhamzejgrkq')
javascript init
/balanced.init('/v1/marketplaces/test-mp29j5stptzvvnjafndm0n62/',{'debug': true});
thanks
the error message says that:
/v1/marketplaces/test-mp29j5stptzvvnjafndm0n62/bank_accounts/ba7bk9dlt3my3fhamzejgrkq" not resolve card
you're doing a:
customer.add_card('/v1/marketplaces/test-mp29j5stptzvvnjafndm0n62/bank_accounts/ba7bk9dlt3my3fhamzejgrkq')
you should instead:
customer.add_bank_account('/v1/marketplaces/test-mp29j5stptzvvnjafndm0n62/bank_accounts/ba7bk9dlt3my3fhamzejgrkq')
Comments
Post a Comment