Skip to main content

Delete SMS Payment (v1)

Method & Path

DELETE /api/v1/workspace/:workspaceId/sms/payments/:paymentId

Description

Permanently delete an SMS payment record.

Authentication

Required: Workspace authentication. User must be authenticated as Workspace Owner or Staff with workspace permissions.

Headers

Authorization: Bearer <workspace_token>
Content-Type: application/json

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier
paymentIdstringYesPayment identifier

Response 204 No Content

No response body.

Common Errors

401 Unauthorized: Missing or invalid authentication token

403 Forbidden: User does not have permission to delete SMS payments

404 Not Found: Workspace or payment not found

500 Internal Server Error: Server error occurred while processing the request

Notes

  • This operation is permanent and cannot be undone
  • If payment has a receipt image, it will also be deleted