Reverse a charge for an account

POST /accounts/{account_id}/line_items/charge_reversals/{line_item_id}

Path parameters

Body Required

Body of request to create charge reversal.

Responses

POST /accounts/{account_id}/line_items/charge_reversals/{line_item_id}
curl \
 -X POST https://<your_environment_name>-uat-api.canopyservicing.com/accounts/can_52322/line_items/charge_reversals/314159265359 \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"external_fields":[{"key":"Globex Card Processing Account ID","value":"22445702-a389-431f-927d-07b8d0750787"}]}'
Request example
{
  "external_fields": [
    {
      "key": "Globex Card Processing Account ID",
      "value": "22445702-a389-431f-927d-07b8d0750787"
    }
  ]
}