balanced / balanced-api

Balanced API specification.
221 stars 72 forks source link

Add test values to simulate responses for all possible merchant_status values #515

Open joeenzminger opened 10 years ago

joeenzminger commented 10 years ago

https://docs.balancedpayments.com/1.1/overview/resources/#test-bank-account-numbers specifies that if on the sandbox I use { "name": Henry Ford" "dob": "1863-07" }

I should get needs-more-information returned. Instead I get no-match.

Also, the 1.1 docs don't specify a dob field (replaced with dob_month, dob_year), although the dob fields still seems to work.

remear commented 10 years ago

@steveklabnik Can you help me determine what triggers each of these in test marketplaces:

"merchant_status": {
    "type": "string",
    "enum": [
        "need-more-information",
        "underwritten",
        "rejected",
        "no-match"
    ]
}

no-match: omit dob_month/dob_year, address underwritten: supply dob_month, dob_year, address need-more-information: ? rejected: ?

steveklabnik commented 10 years ago

@mjallday or @matthewfl would know what's up currently.

matthewfl commented 10 years ago

no-match and underwritten are currently the only values that will come back for merchant status