ChargeDesk · Example Payload

Gateway Refund Charge

Example request to refund a charge via the ChargeDesk payment gateway

PaymentsBillingSubscriptionsChargesRefundsCustomer ManagementPayment GatewayHelpdesk IntegrationREST API

Gateway Refund Charge is an example object payload from ChargeDesk, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Gateway - Refund a Charge",
  "description": "Example request to refund a charge via the ChargeDesk payment gateway",
  "request": {
    "method": "POST",
    "url": "https://api.chargedesk.com/v1/gateway/charges/ch_live_abc123/refund",
    "headers": {
      "Authorization": "Basic YOUR_SECRET_KEY:",
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": {
      "amount": "49.99",
      "log_reason": "Customer requested refund - duplicate charge"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "ch_live_abc123",
      "object": "charge",
      "status": "refunded",
      "amount": 99.00,
      "amount_refunded": 49.99,
      "currency": "USD",
      "customer": {
        "id": "cus_abc123"
      },
      "occurred": "2026-06-13T00:00:00Z"
    }
  }
}