# Bug: total\_amount\_released in releasing escrow call does not work with more than 10 partial releases

**URL:** <https://community.rapyd.net/t/bug-total-amount-released-in-releasing-escrow-call-does-not-work-with-more-than-10-partial-releases/55494>\
**Category:** ⚙️ API\
**Created:** [September 1, 2022, 10:25pm UTC](https://community.rapyd.net/t/bug-total-amount-released-in-releasing-escrow-call-does-not-work-with-more-than-10-partial-releases/55494 "2022-09-01T22:25:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc4](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/marc4/32/20220_2.png) [@marc4](https://community.rapyd.net/u/marc4)\
**Post date:** [September 1, 2022, 10:25pm UTC](https://community.rapyd.net/t/bug-total-amount-released-in-releasing-escrow-call-does-not-work-with-more-than-10-partial-releases/55494/1 "2022-09-01T22:25:04Z")

</div>

when releasing multiple escrow partial payments through ({{base\_uri}}/payments/:payment/escrows/:escrow/escrow\_releases) the total\_amount\_released property that is returned from the API stops accumulating.

It seems to be because the escrow\_releases data returns 10 items initially and total\_amount\_released is a sum of this partial array but is NOT total as implied by the name.

amount\_on\_hold property does seem to give the correct amount back.

example of this behaviour in a sandbox payment (original payment is 800$):

operation id: 043ebb04-1c96-4bff-ab38-dfb351cdb8d4  
escrow id: escrow\_17ec3b3d636225b55831bfcd037b1346  
payment id: payment\_1d78989a368df3af405f9589fa317e46

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [September 1, 2022, 11:11pm UTC](https://community.rapyd.net/t/bug-total-amount-released-in-releasing-escrow-call-does-not-work-with-more-than-10-partial-releases/55494/2 "2022-09-01T23:11:58Z")

</div>

Thanks @marc4, I have reported this for the team to follow up on.
