Toggle a gateway payment between accepted and disputed

Changes an eligible SchoolSet payment between Accepted and Disputed without calling the payment gateway, optionally recording a note.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired
SchoolSet payment identifier.

Request

This endpoint expects an object.
notestring or nullOptional

Response

Payment status was toggled successfully.
statusstring
messagestring
datamap from strings to any
PaymentResource representation after the toggle.

Errors

400
Bad Request Error