Simulate refund and cancel Sub2API subscription
POST/api/auth/admin/sub2api/user-subscriptions/:subscriptionId/refund
The refund amount must be greater than 0 and cannot exceed the total of Workflow completed simulated payments associated with this Sub2API subscription. Server Create a retryable refund record before revoking the Sub2API subscription; the refund is marked as complete only if the revocation is successful. Upstream subscriptions without Workflow payment history are not refundable. Accessible only to system.admin.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 502
Returns completed or existing refund records.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.