Skip to content

1.0 (beta1)

Pre-release
Pre-release
Compare
Choose a tag to compare
@remear remear released this 03 Feb 19:42
· 12 commits to master since this release

Updated for Balanced API 1.1.

Balanced instances do not need a marketplace URI since Balanced API 1.1 no longer requires authenticated tokenization. For you this means you'll get back a response containing a card href and other attributes. Send the href to your server. Any authenticated operation from your server will claim the card for your marketplace, for example, associating a card to a customer or even just a simple card fetch.

Tokenizing is now done directly through the Balanced class via createCardWithNumber and createBankAccountWithRoutingNumber respectively. If the card or bank account is invalid, the block supplied as the errorBlock parameter will be called. The userInfo in the error dictionary should have an errors key containing an NSDictionary of validation error messages.

Fixed an issue with expiration date checking before attempting to submit card information to the Balanced API.