Giter Site home page Giter Site logo

balanced-docs's People

Contributors

alandotcom avatar andrewnossiter avatar bnoguchi avatar coderanger avatar davidfischer avatar dclausen avatar jbafford avatar jeremymarc avatar jrus avatar kfr2 avatar kyungmin avatar macleanjr avatar mahmoudimus avatar matin avatar matthewfl avatar mdrollette avatar michetti avatar mjallday avatar msherry avatar nodesocket avatar pnegahdar avatar rca avatar remear avatar rloomba avatar rmm5t avatar rserna2010 avatar sophistry avatar steveklabnik avatar thomasboyt avatar trevorhinesley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

balanced-docs's Issues

Explain when fees are charged

  • When is the chargeback fee invoiced?
  • Does the chargeback fee get returned if the chargeback is successfully disputed?
  • When is a failed credit fee invoiced?

Add Section for Retrieve An Account

Several people have asked recently how they can find an account. While this call can be deduced from other examples in the API documentation, it could be clearer.

Add an API documentation section with examples to make this clear since similar sections exist for retrieving credits, debits, verifications and so on.

Explain Underwriting

From balanced-api #10

We need to explain what underwriting is and why it matters.

"Specifically the concept of underwriting a merchant is pretty foreign to most payments services.

Balanced underwrites sellers/recipients as merchants to comply with payment aggregation compliance policies. Otherwise, the marketplace would become an aggregator. There's a explanation of the ramifications on Gittip #67.

The API has to validate the identity of the seller to underwrite them as a merchant, which requires, at minimum, the legal name, home address, and DOB. This information is verified against external data sources, but Balanced doesn't currently explain this process well or return very useful messages in the API response."

bank account verifications

how long does a bank account verification take? time between initiating a verification and the ability to use it?

Need create / update merchant example that handles all exceptions

From balanced/balanced-api#137

"""Creating and/or updating merchant is not as simple as creating a buyer, and the docs don't seem to cover everything in the level of detail that I would have hoped. There seem to be numerous cases that need to be handled -- does the user have an account in the marketplace already, does the user have the merchant role already, do you need to update the merchant acount when the user changes his email or address, etc.

In lieu of a solid working example (preferably in Python/Django), some pseudo-code would suffice. I know it would have saved me a lot of time."""

And note Marshall’s gist: https://gist.github.com/3820242

Document bank processes for voiding an authorization hold Edit

Migrated from balanced-api/issues/17.

From Wikipedia:

Authorization hold (also card authorisation, preauthorization, or preauth) is the practice within the banking industry of authorizing electronic transactions done with a debit card or credit card and holding this balance as unavailable either until the merchant clears the transaction (also called settlement), or the hold "falls off." In the case of debit cards, authorization holds can fall off the account (thus rendering the balance available again) anywhere from 1–5 days after the transaction date depending on the bank's policy; in the case of credit cards, holds may last as long as 30 days, depending on the issuing bank.

There needs to be communication through the API and/or documentation about when a hold is likely to drop off. The most problematic are prepaid and debit cards where there's real money being held by the bank.

A minimal solution would be to add a brief explanation and link to Wikipedia.

The next step could be to return the card type (prepaid, debit, charge, etc.) in the cards resource since the type is what generally determins the period required for the hold to fall off.

client side validation helpers for bank accounts are incorrect

From @travisp,

Hello,

Just wanted to tell you that there was an error in your documentation for
your client side validation helpers for bank accounts (it doesn't work)

https://www.balancedpayments.com/docs/overview?language=bash#client-side-validation-helpers

Correct code:

https://gist.github.com/travisp/5320330

Also, it says it performs a sanity check on the account number and name
(somehow), but accepts "8887776665555sdfsdf" as a valid account number

Clearly explain multiple ways to underwrite merchant

In the balanced-ruby gem examples.rb, a merchant account is created this way:

merchant = marketplace.create_merchant(
      :email_address => "[email protected]",
      :merchant => {
      :type => "person",
      :name => "Billy Jones",
  :street_address => "801 High St.",
  :postal_code => "94301",
  :country => "USA",
  :dob => "1842-01",
  :phone_number => "+16505551234",
},
:bank_account_uri => bank_account.uri,
:name => "Jack Q Merchant",
)

This appears to both create and underwrite the merchant simultaneously. The overview/tutorial documentation, however, explains how to create just an account with no extra credentials, and then "promote" the associated account to a merchant:

 require 'balanced'
 Balanced.configure('099e55e07f7311e2b923026ba7c1aba6')

 marketplace = Balanced::Marketplace.my_marketplace

 merchant_data = {
   :phone_number => '+14089999999',
   :name => 'Timmy Q. CopyPasta',
   :dob => '1989-12',
   :postal_code => '94110',
   :type => 'person',
   :street_address => '121 Skriptkid Row',
 }

 account = Balanced::Marketplace.my_marketplace.create_account

 begin
   account.promote_to_merchant(merchant_data)
 rescue Balanced::MoreInformationRequired => error
   # could not identify this account.
 puts 'redirect merchant to: ' + error.redirect_uri
 rescue Balanced::Error => error
   # TODO: handle 400 and 409 exceptions as required
   raise
 end

It would be handy to see both explanations along with reasons why a developer would want to choose the different paths.

Docs: Business merchant create example unclear

Reading the documentation for creating a merchant, it's hard to understand exactly what to pass when creating a business. The person documentation is very concise but not so for a business.

Also:

For business merchants dob is optional, defaulting to null.

  • Is email address required within the merchant payload too?
  • Person says street_address is not mandatory but posting to the API says otherwise.

A working JSON payload would clear this up.

(migrated from balanced/balanced-api#164)

Clarify what "hash" is in the docs

It seems that "hash" is a great source of confusion, and understandably so as it's not explained anywhere in the documentation.

I think it would be worthwhile to explain what it is, how it's composed and what purpose it serves.

Issue with PHP's merchant underwriting example.

I was chatting with Mahmoud this evening about a trouble I had with the
Merchant Underwriting process with PHP. I have now resolved my issue, but
thought you may want to clarify the documentation. In the PHP example (seen
herehttps://www.balancedpayments.com/docs/overview?language=php#merchant-underwriting)
the '$account' variable uses CreateAccount without passing the merchant
data parameters, but rather uses promoteToMerchant. This function does not
seem to pick up the merchant_data array. The account would be created, but
all the details were blank when I viewed the new account in my portal.

Original:
$account = $marketplace->createAccount();

Here is my fix:
$account = $marketplace->createMerchant($email, $merchant_data);

There may be issues with my solution, but it seems to work.

Reported by Hank

1099 Processing

Balanced provides 1099s for merchants that sell through marketplaces.

  • How often are these generated
  • How are marketplace fees calculated
  • Are they sent straight to the merchants or does the marketplace have to distribute them

Charging best practices (in overview)

  • Can I delete a card?
  • How do I handle the scenario for deleting a card?
  • How do I build an Amazon-like credit card picking scenario?
  • How do card defaults work?

Provide a Balanced trust badge

I've heard from some YC founders that putting a TRUSTe badge on your checkout page leads to a 3-5% increase in conversions -- actually using your own badge that looks similar to a TRUSTe badge seems to do the trick as well. And two badges are better than 1.

I suggest Balanced build a trust badge in addition to our "powered by balanced" badge

Here's the TRUSTe badge:
TRUSTe badge

Originally opened in the api repo (balanced/balanced-api#234)

Better explain how to associate merchants with debits

The documentation isn't clear about how to associate/earmark a debit for a particular merchant.

Examples for the various client libraries as well as via the API would be good. Also, how are complex edge cases handled such as multiple merchants being associated with a single debit? If I create a single debit for $10 and there are 2 merchants associated, the first gets $4 and the second $5 ($1 goes to MP), how would I do this?

Docs: Merchant inaccuracy

18:16 < ajsharp> It says to create a merchant we have to pass in either a bank account uri or a bank account object. Is that correct? https://github.com/balanced/balanced-api/blob/master/resources/accounts.rst
18:19 < ajsharp> mjallday: ^^
18:19 < mjallday> hey mate, one second...
18:20 < ajsharp> np
18:21 < mjallday> ajsharp: looks like an inacuracy in the docs, i just tried it and it works fine without the bank account

From the documentation

Exactly one of

bank_account_uri
string. The URI of the bank account created via balanced.js. Ignored if not updated.

POSTing merchant data to the API without a bank account clearly works fine however:

 curl -X POST https://api.balancedpayments.com/v1/marketplaces/TEST-MP6IEymJ6ynwnSoqJQnUTacN/accounts \
      -u 7b7a51ccb10c11e19c0a026ba7e239a9: \
      -d email_address="[email protected]" \
      -d merchant[type]="person" \
      -d merchant[name]="William James" \
      -d merchant[street_address]="801 High St" \
      -d merchant[postal_code]="94301" \
      -d merchant[country]="USA" \
      -d merchant[dob]="1842-01" \
      -d merchant[phone_number]="+16505551234"

(migrated from balanced/balanced-api#162)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.