# Document change or more clarifiation

**URL:** <https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964>\
**Category:** API Support\
**Created:** [March 22, 2017, 7:50pm UTC](https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964 "2017-03-22T19:50:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MassVenture](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@MassVenture](https://discuss.dwolla.com/u/MassVenture)\
**Post date:** [March 22, 2017, 7:50pm UTC](https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964/1 "2017-03-22T19:50:05Z")

</div>

Below is a response when I am checking status of a transfer. Per docs it says to do transfer.status on the object. If you look at this object that was returned the first status is set to 200 however the next status says “pending” how do I get to the second status? Should there be 2 statuses on this object?

[https://docsv2.dwolla.com/transfer/#retrieve-a-transfer](https://docsv2.dwolla.com/transfer/#retrieve-a-transfer)

#\<DwollaV2: : Response  
status=200  
headers={  
“date”=\>“Wed, 22 Mar 2017 19:45:09 GMT”,  
“content-type”=\>“application/vnd.dwolla.v1.hal+json; charset=UTF-8”,  
“content-length”=\>“1024”,  
“connection”=\>“close”,  
“set-cookie”=\>"\_\_cfduid=1234132412341324132412341324; expires=Thu, 22-Mar-18 19:45:08 GMT; path=/; [domain=.dwolla.com](http://domain=.dwolla.com); HttpOnly",  
“x-request-id”=\>“00640850-63c4-4bd0-ac1c-fdc6830df284”,  
“server”=\>“cloudflare-nginx”,  
“cf-ray”=\>“343ba64f2fda0cfb-ATL”  
}{  
"\_links"=\>{  
“cancel”=\>{  
“href”=\>“[https://api-uat.dwolla.com/transfers/1234132412341324132412341324](https://api-uat.dwolla.com/transfers/1234132412341324132412341324)”,  
“type”=\>“application/vnd.dwolla.v1.hal+json”,  
“resource-type”=\>“transfer”  
},  
“source”=\>{  
“href”=\>“[https://api-uat.dwolla.com/accounts/1234132412341324132412341324](https://api-uat.dwolla.com/accounts/1234132412341324132412341324)”,  
“type”=\>“application/vnd.dwolla.v1.hal+json”,  
“resource-type”=\>“account”  
},  
“funding-transfer”=\>{  
“href”=\>“[https://api-uat.dwolla.com/transfers/1234132412341324132412341324](https://api-uat.dwolla.com/transfers/1234132412341324132412341324)”,  
“type”=\>“application/vnd.dwolla.v1.hal+json”,  
“resource-type”=\>“transfer”  
},  
“self”=\>{  
“href”=\>“[https://api-uat.dwolla.com/transfers/1234132412341324132412341324](https://api-uat.dwolla.com/transfers/1234132412341324132412341324)”,  
“type”=\>“application/vnd.dwolla.v1.hal+json”,  
“resource-type”=\>“transfer”  
},  
“destination”=\>{  
“href”=\>“[https://api-uat.dwolla.com/accounts/1234132412341324132412341324](https://api-uat.dwolla.com/accounts/1234132412341324132412341324)”,  
“type”=\>“application/vnd.dwolla.v1.hal+json”,  
“resource-type”=\>“account”  
}  
},  
“id”=\>“1234132412341324132412341324”,  
“status”=\>“pending”,  
“amount”=\>{  
“value”=\>“100.00”,  
“currency”=\>“usd”  
},  
“created”=\>2017-03-2219: 15: 50UTC,  
“clearing”=\>{  
“source”=\>“standard”  
}  
}\>

---

<div class="post-metadata">

**Author:** ![stephen](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/stephen/32/2936_2.png) [@stephen](https://discuss.dwolla.com/u/stephen)\
**Post date:** [March 22, 2017, 10:44pm UTC](https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964/2 "2017-03-22T22:44:36Z")

</div>

Hey @MassVenture,

The `DwollaV2::Response` object currently lets you access `headers`, `status`, and any body properties by calling `res.*`. In this particular situation you’ll need to do:

```ruby
res[:status]

```

if you want to access the response body’s status property instead of the response status. Sorry for the confusion. I should have anticipated the conflict/ambiguity when I wrote the client. I’ll work with the rest of the team on making this more clear. Thanks for the heads up!

---

<div class="post-metadata">

**Author:** ![MassVenture](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@MassVenture](https://discuss.dwolla.com/u/MassVenture)\
**Post date:** [March 23, 2017, 3:47pm UTC](https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964/3 "2017-03-23T15:47:53Z")

</div>

> [@stephen](#):
>
> res[:status]

Awesome that worked! Thanks!

---

<div class="post-metadata">

**Author:** ![CoolStoryCory](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/coolstorycory/32/2160_2.png) [@CoolStoryCory](https://discuss.dwolla.com/u/CoolStoryCory)\
**Post date:** [January 23, 2018, 8:25pm UTC](https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964/4 "2018-01-23T20:25:28Z")

</div>



---

<div class="post-metadata">

**Author:** ![CoolStoryCory](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/coolstorycory/32/2160_2.png) [@CoolStoryCory](https://discuss.dwolla.com/u/CoolStoryCory)\
**Post date:** [January 23, 2018, 8:25pm UTC](https://discuss.dwolla.com/t/document-change-or-more-clarifiation/3964/5 "2018-01-23T20:25:30Z")

</div>


