{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"refunds","type":"basic","slug":"refunds","excerpt":"Contains existing refunds for this transaction","body":"###Request\nN/A\n\n###Response\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"`refund`\",\n    \"0-1\": \"array\",\n    \"0-2\": \"An array of [refund](doc:refund-1) objects.\",\n    \"1-0\": \"`balanceAmount`\",\n    \"1-1\": \"*decimal*\",\n    \"1-2\": \"Amount available to be refunded\",\n    \"2-0\": \"`vendorBalanceAmount`\",\n    \"2-1\": \"*decimal*\",\n    \"2-2\": \"Amount available to be refunded to vendors. Only applicable if one or more vendors were involved in original transaction.\",\n    \"3-0\": \"`vendorsBalanceInfo`\",\n    \"3-1\": \"*object*\",\n    \"3-2\": \"See [vendorsBalanceInfo](doc:vendorsbalanceinfo).\"\n  },\n  \"cols\": 3,\n  \"rows\": 4\n}\n[/block]","updates":[],"order":39,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ff39c12e2e8fa00503ad57d","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"JSON Objects","slug":"resources","order":15,"from_sync":false,"reference":false,"_id":"5ff39c12e2e8fa00503ad538","version":"5ff39c12e2e8fa00503ad5e4","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"parentDoc":null,"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","version":{"version":"8976-JSON","version_clean":"8976.0.0-JSON","codename":"3.36.1 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ff39c12e2e8fa00503ad52d","5ff39c12e2e8fa00503ad52e","5ff39c12e2e8fa00503ad52f","5ff39c12e2e8fa00503ad530","5ff39c12e2e8fa00503ad531","5ff39c12e2e8fa00503ad532","5ff39c12e2e8fa00503ad533","5ff39c12e2e8fa00503ad534","5ff39c12e2e8fa00503ad535","5ff39c12e2e8fa00503ad536","5ff39c12e2e8fa00503ad537","5ff39c12e2e8fa00503ad538","5ff39c12e2e8fa00503ad539","5ff39c12e2e8fa00503ad53a","5ff39c12e2e8fa00503ad53b","5ff39c12e2e8fa00503ad53c","5ff39c12e2e8fa00503ad53d","5ff39c12e2e8fa00503ad53e","5ff39c12e2e8fa00503ad53f"],"_id":"5ff39c12e2e8fa00503ad5e4","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5fc6c6094cb8fa066b0d2ea3","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z"},"createdAt":"2016-09-22T14:28:19.570Z","githubsync":"","__v":0}

refunds

Contains existing refunds for this transaction

Request

N/A

Response

Property Name
Type
Description

refund

array

An array of refund objects.

balanceAmount

decimal

Amount available to be refunded

vendorBalanceAmount

decimal

Amount available to be refunded to vendors. Only applicable if one or more vendors were involved in original transaction.

vendorsBalanceInfo

object