Skip to main content
DELETE
/
v1
/
platform
/
businesses
/
{business_id}
/
customer-credits
/
{credit_id}
Delete (soft) Customer Credit
curl --request DELETE \
  --url https://sandbox.thredfi.com/v1/platform/businesses/{business_id}/customer-credits/{credit_id}/ \
  --header 'Authorization: Bearer <token>'
{
  "error_code": "<string>",
  "message": "<string>",
  "detail": {},
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>

Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.

Path Parameters

business_id
string<uuid>
required

Business UUID provided by Thred (unique identifier for the business)

credit_id
string<uuid>
required

A UUID string identifying this customer credit note.

Response

No response body