Request

PUT /down_payment_invoice/5231cc194ab63c53dc9004e4/cancel/
Content-Type: application/json

Response

200 OK
Content-Type: application/json
{
    "credit_note_uri": "/api/v1/credit_note/5231cc304ab63c53dc9004f3/"
}

Request

PUT /down_payment_invoice/5231cc1f4ab63c53dc9004e9/cancel/
Content-Type: application/xml

Response

200 OK
Content-Type: application/xml; charset=utf-8
<response>
  <credit_note_uri>/api/v1/credit_note/5231cc344ab63c53dc9004f6/</credit_note_uri>
</response>

Request

PUT /down_payment_invoice/5231cc264ab63c53dc9004ee/cancel/
Content-Type: text/yaml

Response

200 OK
Content-Type: text/yaml; charset=utf-8
{credit_note_uri: !!python/unicode '/api/v1/credit_note/5231cc374ab63c53dc9004f9/'}