Use an action subresource only for non-CRUD workflows.
Section: Route shape examples
Represent actions carefully when needed
text
text
POST /payments/{paymentId}/refundsExplanation
Some domain actions are best modeled as a resource creation under the target resource instead of a verb endpoint like `/refundPayment`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Route shape examples