Skip to main content

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

Returns completed or existing refund records.