405

API problem detail

Method Not Allowed

Description

This problem type is returned when an operation exists but is deliberately refused. The main case is DELETE /PayOut/{id}: direct deletion of a pay out is refused to preserve funding totals and audit history.

Calling a route with an HTTP verb it does not support also returns 405, but with the standard type https://tools.ietf.org/html/rfc9110#section-15.5.6 instead of this page.

Experience API error bodies also carry errorCode, resolution, and traceId. Branch on errorCode, not on title or detail; see fields on every error.

How to resolve

For a bundled request, POST /DisbursementRequests/{id}/RecipientPayments/{paymentReference}/$Cancel removes one payment only while the request is still an editable draft: before approval or dispatch, with the payment unsent and another payment remaining. Otherwise cancel the whole request with the request-level $Cancel before dispatch, or contact DirecFunds support. A granular disbursement has no single-pay-out removal: while it is Initialized or Pending Approval, delete it with DELETE /Disbursement/{id} and create it again. For any other 405, check the verb against the API reference.
Back to all problem details