{
  "description":"User initiates cancel on unlcaimed payouts item.",
  "title":"Cancel item sample",
  "runnable":true,
  "operationId":"payouts.item.cancel",
  "user":{
    "scopes":[

    ]
  },
  "credentials":{
    "oauth":{
      "path":"/v1/oauth/token",
      "clientId":"",
      "clientSecret":""
    }
  },
  "request":{
    "path":"v1/payments/payouts-item/452345/cancel",
    "method":"POST",
    "headers":{
      "Content-Type":"application/json",
      "Content-Encoding":"gzip"
    },
    "body":{

    }
  },
  "response":{
    "status":"200 OK",
    "headers":{
      "Content-Type":"application/json",
      "Content-Encoding":"gzip"
    },
    "body":{
      "payout_item_id":"VHBFGN95AWV82",
      "transaction_id":"0728664497487461D",
      "transaction_status":"RETURNED",
      "payout_item_fee":{
        "currency":"USD",
        "value":"0.02"
      },
      "payout_batch_id":"CDZEC5MJ8R5HY",
      "sender_batch_id":"2014021801",
      "payout_item":{
        "recipient_type":"EMAIL",
        "amount":{
          "value":"1.00",
          "currency":"USD"
        },
        "note":"Thanks for your patronage!",
        "receiver":"anybody01@gmail.com",
        "payouts_item_id":"1421342",
        "sender_item_id":"14Feb_234"
      },
      "time_processed":"2014-01-27T10:17:41Z",
      "errors":{
        "name":"RECEIVER_UNREGISTERED",
        "message":"Receiver is unregistered",
        "information_link": "https://developer.paypal.com/webapps/developer/docs/api/#RECEIVER_UNREGISTERED"
      },
      "links":[
        {
          "rel":"self",
          "href":"https://api.sandbox.paypal.com/v1/payments/payouts-item/1421342",
          "method":"GET"
        },
        {
          "rel":"batch",
          "href":"https://api.sandbox.paypal.com/v1/payments/payouts/20140724",
          "method":"GET"
        }
      ]
    }
  }
}
