{"_id":"5a7b5392724509001c038469","category":{"_id":"5a7b538e724509001c0383f7","version":"5a7b538e724509001c0383eb","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":11,"slug":"resources","title":"JSON Objects"},"parentDoc":null,"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"5a7b538e724509001c0383eb","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2018-02-07T19:29:18.655Z","releaseDate":"2018-02-07T19:29:18.655Z","categories":["5a7b538e724509001c0383ec","5a7b538e724509001c0383ed","5a7b538e724509001c0383ee","5a7b538e724509001c0383ef","5a7b538e724509001c0383f0","5a7b538e724509001c0383f1","5a7b538e724509001c0383f2","5a7b538e724509001c0383f3","5a7b538e724509001c0383f4","5a7b538e724509001c0383f5","5a7b538e724509001c0383f6","5a7b538e724509001c0383f7","5a7b538e724509001c0383f8","5a7b538e724509001c0383f9","5a7b538e724509001c0383fa"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.24.1 Release","version_clean":"8976.0.0-JSON","version":"8976-JSON"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-22T14:28:19.570Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":30,"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\": \"Array containing one or more [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]","excerpt":"Contains existing refunds for this transaction","slug":"refunds","type":"basic","title":"refunds"}

refunds

Contains existing refunds for this transaction

Request

N/A

Response

Property Name
Type
Description

refund

array

Array containing one or more 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