Refunds
Create a refund
Changed onCreates a new refund object.
post/refunds
Request
- Base URLhttps://api.goshippo.com
- URLhttps://api.goshippo.com/refunds
- AuthAPI key in header Authorization
Headers
SHIPPO-API-VERSIONstring
Example:2018-02-08
Optional string used to pick a non-default API version to use. See our API version guide.
SHIPPO-ACCOUNT-IDstring
Optional. The object ID of a Managed Shippo Account. Platform accounts set this to make the request on behalf of one of their managed accounts. See the Platform accounts guide.
Request body
Example request
{
"transaction": "915d94940ea54c3a80cbfa328722f5a1"
}Response
Refund
Example response
{
"object_id": "adcfdddf8ec64b84ad22772bce3ea37a",
"object_owner": "shippotle@shippo.com",
"status": "SUCCESS",
"transaction": "915d94940ea54c3a80cbfa328722f5a1"
}Changes
- info
added the new optional
headerrequest parameterSHIPPO-ACCOUNT-ID
- info
- breaking
for the
headerrequest parameterSHIPPO-API-VERSION, default value2018-02-08was added
- breaking