We've released a new version of the client libraries today. We have been working hard to improve our libraries by adding new features and incorporating all the great feedback we have gotten from all of you. Below are some details around the improvements that we have made. All changes are backwards compatible.
Advanced Transaction Search
With this feature you can pull back transactions using a variety of criteria such as transaction_id, card type, transaction type, status, amount, etc.
Search Examples Ruby | Python | PHP | Java | .NET
Combo ActionsPreviously when creating a transaction for an existing customer we would use the default credit card stored for that customer. If you wanted to use a new card you would have to create that credit card and store it in the vault as the default card and then submit the transaction. For an existing customer you now have the ability to create a transaction with a new credit card that can be stored in the vault in one call.You can now also update a stored credit card and its billing address at the same time.
Combo Action Examples Ruby | Python | PHP | Java | .NET
Update Credit Card and Billing Address Examples Ruby | Python | PHP | Java | .NET
Manual Retry Charges for Past Due Subscriptions
We will still automatically retry for you on past due subscriptions however you have the ability to manually retry using the client library. Previously this functionality was limited to the Control Panel. You also have the flexibility to specify the amount to be charged if you would like it to be different than the subscription amount.
Manual Retry Examples Ruby | Python | PHP | Java | .NET
Partial Refunds
Previously you could only refund the full amount of the transaction using the library. Now you can refund a partial amount.
Partial Refund Examples Ruby | Python | PHP | Java | .NET
Hope the new release is helpful!Thanks,
The Braintree Dev Team