Customers

Update a customer

PATCH/v1/customers/{id}

Updates a customer. Partial.

API key · or dashboard session.

Request

Shell
curl -fsS -X PATCH "$API/v1/customers/cus_0198f80c-…" \
  -H "Authorization: Bearer $PAYDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "email": null }'

Response

200 OK
{
  "id": "cus_0198f80c-1111-7dc1-a369-90556a64f700",
  "name": "Globex",
  "email": null,
  "details": "Attn: Accounts Payable",
  "created_at": "2026-09-06T12:00:00Z",
  "updated_at": "2026-09-06T12:00:00Z"
}

Omitted fields are unchanged. null clears email or details. The merged record is validated whole. Issued requests are unaffected.

Path parameters

idcus_ idrequired

Body

namestring
1–255 bytes.
emailstring | null
detailsstring | null

Response

Customer.