We are trying to hit the following API
token.post('/api/v1/donations', headers: {"Content-Type"=>"application/json", "Accept"=>"application/json"}, body: {:donation=>{:donor_id=>1234, :amount_in_cents=>1000, :payment_type_name=>"Other", :tracking_code_slug=>"", :succeeded_at=>Wed, 07 Sep 2016 23:18:32 EDT -04:00}})
Official response from Farz Sokhansanj
The tracking_code_slug can't be blank. It needs the tracking code value as a string, a 'null' or just not including the resource in the request.
Share this post
Showing 1 reaction
Sign in with