Created
February 25, 2015 21:04
-
-
Save jrthib/f7d40764cf7c3a8bec9b to your computer and use it in GitHub Desktop.
Balanced payments - getting the merchant bank account.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The examples provided at [https://github.com/balanced/balanced-node/blob/master/snippets/order-credit-marketplace.js] | |
// and also: [https://docs.balancedpayments.com/1.1/guides/orders/credit-marketplace/] are not very detailed. | |
// The following example is what is required to get the marketplace bank account to then issue credits to your marketplace. | |
balanced.marketplace.then(function(marketplace) { | |
marketplace.owner_customer.bank_accounts.get(0).then(function(bankAccount) { | |
console.log(bankAccount); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment