How to transfer fee to marketplace owner's bank account - balanced-payments

I am using a test marketplace and I want to implement fee deduction. But I do not know the URI of the marketplace owner's bank account. Where can I get this URI? Or do I have to construct it myself from the bank account id in the Dashboard?

It's the bank account associated with the owner_account or owner_customer object.
If you're using balanced-ruby you could use
Balanced::Marketplace.mine.owner_customer.destination
or if you're using Accounts instead of Customers
Balanced::Marketplace.mine.owner_account.bank_accounts.all(:first)

Related

Stripe + Plaid | Is it possible to have more than one bank account (ach) in sandbox associated to one user?

In sandbox mode the UI of plaid with user "user_good" always returns me the same bank account ended with last 4 "6789" of stripe and i need to test in my app a user with two bank accounts, the default and another one.
Is there a way to add more than 1 test bank account in stripe and returned it based on the custom plaid user or other way for an email to have more than one bank account associated via api?
It's not possible to establish multiple bank accounts for a Stripe customer with Plaid while in test mode. As you mentioned, in test mode the integration will always return the same account (regardless of what is selected in the UI).
If the second account doesn't need to be created via Plaid, then you can create a bank account token using Stripe's ACH test numbers to use with your testing.

Is it possible to attach/mirror a balance to a Bank Account? xero

Is it possible to attach a balance to a Bank Account?
Our product has a bank balance and we process payments that have to be sent back to Xero. I don't understand how to best present our bank balance in Xero or even if it makes sense to do this.
Currently I automatically create an expense account using the API and associate all payments we create in Xero with that. This isn't ideal because we'd like to show the current balance of funds the customer has in our product. Also, the account the user has with us isn't really an expense account it's more of a bank account.
When I create a bank account in Xero, I can't figure out how to associate an existing balance. Any guidance on best practices here would be appreciated.
Is it possible to attach a balance to a Bank Account? Our clients have a balance of funds with us very similar to a bank balance. How can I make that balance show up in Xero and have that account be used for Payments I create using only the API?
You can set the conversion balance for a bank account using the Setup endpoint:
https://developer.xero.com/documentation/api-guides/conversions
That will let you provide the initial balance via the API; the balance from that point is maintained via requests against the BankTransactions endpoint with the appropriate types:
https://developer.xero.com/documentation/api/types#BankTransactionTypes

Yodlee FastLink API

We are building an iOS app that uses Yodlee API's to retrieve credit card transactions for our users.
Right now, we are using FastLink API to connect.
Once accounts are added to a users profile, is there a way to filter the transactions for a specific account by credit card? (For credit card accounts that have multiple cards associated with them)
For example: I have one credit card account with 4 cards associated with it. I am trying to retrieve only the information for a single card. Can this be done?
Yes, you can get a particular credit card account by calling Get Account Details API-https://developer.yodlee.com/apidocs/index.php#!/accounts/getAccountDetails
by passing the accountId and container as creditCard.
Hope this helps.

Can a Balanced customer use an Etrade account?

Can a Balanced user use an Etrade account as their funding source / payout destination?
These accounts have standard routing and account numbers but it is not clear if credits and debits are accepted in the normal way.
If this is possible, does the customer need to set up authorization etc. with Etrade before using Balanced?
Thanks!
https://us.etrade.com/home
If your Etrade account has a routing number and account number like any other bank account in the US then it will be compatible.
If it's a virtual bank account that can only be accessed via the Etrade website then it will not work.
Balanced uses the ACH network to perform credit and debit operations on bank accounts so there is nothing specific to a particular bank.

Credit card crediting and debiting / ACH crediting and debiting through Api without user interaction

I'm looking for a way to automate a transfer from one credit card to another credit card or from one bank account to another bank account, without the end user having to login to something like paypal or amazon payments to complete the process (by transferring their on-line balance to their bank account).
This is extension to the earlier question.
API For Direct Deposit (ACH, EFT, Whatever)
Anybody solved this. Could you suggest the answer?
[EDIT]
I know that PCI compliant issues will be there to store credit card info in database. So I am checking for an API which saves saves the info and doing crediting and debiting credit card.
Is there any issue to store the bank info in database?
[new]
I saw that there is an api for that. echeck.net which uses ACH network and credit/debits a bank account.
Is it possible to store the bank info in authorize.net server through CIM API, and use them whenever website needs to collect money from consumer, through a script? and through script is it possible to credit the users bank account from website bank account?
I saw that there is an api for that.
echeck.net which uses ACH network and
credit/debits a bank account.
Is it possible to store the bank info
in authorize.net server through CIM
API, and use them whenever website
needs to collect money from consumer,
through a script? and through script
is it possible to credit the users
bank account from website bank
account?
CIM does work with eChecks and should do what you need. See page 9 of the CIM manual for details of the createCustomerProfileRequest API call.