331 Commits

Author SHA1 Message Date
Kyle Conroy
13979ce5be Add retrieve and all methods to refunds 2015-08-17 16:15:34 -07:00
Caitlin
eb75ccd7fa Merge pull request #269 from stripe/disputes
Add top level dispute methods.
2015-08-03 11:32:37 -07:00
Andy Cohen
2d28ab642d add api_resource_test for ListObject expand support 2015-07-27 17:40:58 -05:00
Russell Davis
bae4fc2fdf Merge pull request #267 from andyt/add_configurable_timeouts
Add configurable timeouts. [#265]
2015-07-27 13:20:45 -07:00
Chase Lambert
801dd99318 Get requests with arrays of dictionaries to work 2015-07-23 15:03:48 -07:00
Kyle Conroy
34010d7a99 Add evidence tests 2015-07-17 17:20:08 -07:00
Caitlin Johnson
a37912f122 Add top level dispute methods. 2015-07-16 14:19:41 -07:00
Andy Triggs
6be76b9754 Add configurable timeouts. [#265] 2015-07-15 16:57:58 +01:00
Kyle Conroy
b3610798c2 Rename test data methods 2015-07-02 11:51:38 -07:00
Brian Krausz
a86bd06484 Rename fake tok ID 2015-06-10 17:26:11 -07:00
Brian Krausz
5883e421c1 Add support for account bank accounts 2015-06-06 12:52:34 -07:00
Lin Jen-Shin
abbe72f5ff to_hash should also walk into arrays to make recursive call. 2015-05-21 02:00:34 +08:00
Russell Davis
fd9e8dd313 Merge pull request #226 from dylanjha/master
Fix incorrect error message- Stripe::Card.retrieve
2015-04-23 14:14:04 -07:00
Andy Brody
ede362588c Remove SSL certificate blacklist checks. 2015-04-09 16:10:32 -07:00
Russell Davis
bc3f514c5c Merge pull request #221 from bobjflong/BL/nilkey2
Safer argument parsing
2015-03-25 15:38:59 -07:00
Bob Long
c269e9bd9b Safer argument parsing (attempt 2) 2015-03-25 15:15:02 +00:00
Russell Davis
52fc50797f Add a test for retrieving accounts using an API key as the only param 2015-03-24 16:48:22 -07:00
Dylan Jhaveri
16dd5856c4 Fix incorrect error message- Stripe::Card.retrieve
* This error message said "Cards cannot be retrieved without a customer
ID. Retrieve a card using customer.cards.retrieve('card_id')"

This is incorrect. `customer.cards` throws a `NoMethodError: undefined
method `cards' for #<Stripe::Customer:0x0000010c8bdca8>`.

* The correct method is `Stripe::Customer#sources`, and this fixes the
error message.
2015-03-18 01:20:21 -07:00
Brian Krausz
37494242f5 Don't recurse into APIResources when updating
Fixes #224

CC @russelldavis
2015-03-13 10:31:55 -07:00
Brian Krausz
0df1c9b176 Fix updates on objs with arrays of strings 2015-03-09 12:08:59 -07:00
Brian Krausz
6976393e9e Fix singleton retrieval
Minor fix so just pushing to master

Fixes #214

CC @russelldavis
2015-03-05 12:27:45 -08:00
Brian Krausz
f8d5687040 Fixes as requested 2015-03-05 00:07:13 -08:00
Brian Krausz
a47a754795 Support arrays & add more nested tests 2015-03-03 14:25:10 -08:00
Brian Krausz
03abd88f0c Fix updating for nested hashes 2015-03-02 18:29:59 -08:00
Max Lahey
d1a50a8918 customer card management should use the customer sources endpoint 2015-02-26 17:32:33 -08:00
Max Lahey
c1d5c94864 version bump to 1.20.0
added structure to support for unified customer sources api
2015-02-19 17:01:39 -08:00
Brian Krausz
cedc3bbad5 Fix test 2015-02-18 12:27:47 -08:00
Brian Krausz
9a82f7d1ba Fix invoice paying/fetching upcoming
Fixes #209
2015-02-18 12:24:11 -08:00
Brian Krausz
98e7a5ad62 Merge pull request #205 from stripe/bk-accounts
Add backwards compat for Accounts & Transfer Reversals
2015-02-15 21:09:48 -08:00
Brian Krausz
8dab401efe Test naming fix 2015-02-15 21:09:34 -08:00
Brian Krausz
9659b403c9 Fix object expansion
Fixes #206
2015-02-15 20:34:16 -08:00
Brian Krausz
d1bceb0041 Support transfer reversals 2015-02-12 22:24:09 -08:00
Brian Krausz
4d611c62f7 Support persisted use of Stripe-Account header everywhere
Including implicit use in /v1/accounts/ endpoints
2015-02-09 23:38:34 -08:00
Max Lahey
9f175e070f added BitcoinTransaction 2015-01-20 11:58:43 -08:00
Max Lahey
0e9a88f796 Wired up support for BitcoinReceiver 2015-01-20 11:58:41 -08:00
Yatish Mehta
45bb015adc Removes unnecessary semi colon 2015-01-13 13:55:12 -05:00
wangjohn
ad26262a2c Adding support for listing file uploads. 2015-01-12 12:44:46 -08:00
Andrew Narkewicz
8f93cd5fac Added deauthorize method to account for deauthorizing from stripe connect application 2014-12-26 09:10:23 -07:00
wangjohn
ef249b7ceb Create the file upload api resource (+ bump version) 2014-12-22 18:04:53 -08:00
wangjohn
6990bbd798 Include stripe account parameter for setting header. 2014-12-19 11:27:12 -08:00
Kyle Conroy
e3a68bb3b9 Replace api_key with an options hash
For now, only two options are supported: `api_key` and
`idempotency_key`. In the future, we'll be adding support for additional
headers as needed.
2014-12-17 23:23:46 -08:00
Kyle Conroy
bfaaae9336 Add per-request headers 2014-12-15 16:11:45 -08:00
Michael Manapat
f3c0766a0d Add fraud reporting methods 2014-12-11 20:33:50 -08:00
Harlow Ward
1d97c81d8b Consistently use symbols for hash keys
* Updated keys to symbols to match the rest of the test helper
2014-11-14 15:45:25 -08:00
Kyle Conroy
8d066ca608 Add coupon update 2014-08-06 16:10:18 -07:00
Cosmin Nicolaescu
d3dfa18990 make ApplicationFee.refunds a list object instead of array 2014-07-28 23:28:24 -07:00
Vladimir Andrijevik
238e071232 Merge remote-tracking branch 'stripe/master' into nested-to-hash 2014-06-30 12:45:40 +02:00
Kyle Conroy
e59a494215 Add support for refund resource 2014-06-16 17:13:57 -07:00
Stephen Wan
c25d4b0cbf Cleaned up transfer tests 2014-05-27 16:59:22 -07:00
Stephen Wan
f13a050935 Added support for transfer cancelation 2014-05-26 11:30:20 -07:00