ChargeDesk · Example Payload

Gateway Request Payment

Example request to send a payment request (invoice) via ChargeDesk

PaymentsBillingSubscriptionsChargesRefundsCustomer ManagementPayment GatewayHelpdesk IntegrationREST API

Gateway Request Payment 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 - Request a Payment",
  "description": "Example request to send a payment request (invoice) via ChargeDesk",
  "request": {
    "method": "POST",
    "url": "https://api.chargedesk.com/v1/gateway/products/charge",
    "headers": {
      "Authorization": "Basic YOUR_SECRET_KEY:",
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": {
      "using": "invoice",
      "contact": "client@example.com",
      "lines[]": [
        "Consulting Services - 10 hours @ $150/hr",
        "Travel expenses"
      ],
      "link_only": "false"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "ch_inv_abc123",
      "object": "charge",
      "status": "invoiced",
      "pay_link": "https://pay.chargedesk.com/p/abc123xyz",
      "customer": {
        "email": "client@example.com"
      },
      "occurred": "2026-06-13T00:00:00Z"
    }
  }
}