Closed kyungmin closed 10 years ago
We should use card_holds
instead of holds
throughout revision 1.1 of the Balanced API
@mjallday Can you explain why card_holds
is a better name for this?
The resource name is CardHold
and you can only do a hold (authorization) on a Card
, not on, say, a BankAccount
.
I don't feel too strongly about either option, but I'm curious why we switched from holds to card_holds, since holds sounds totally fine to me. Generalizing the name would allow us to keep the name the same if we ever want to allow holds on other funding instruments.
Hm, both search/ and transactions/ are expecting card_hold
now. Has it been fixed?
no, i suspect you passed through something that caused it to be processed as a revision 1.0 request e.g. adding /v1 to the start of the url. i'm going to close this issue, it doesn't sound like there is a problem
Not having consistent naming scheme is causing errors on the dashboard.
/transaction
expectscard_hold
:however,
/search
expectshold
:We should use
holds
instead ofcard_holds
throughout Balanced API.