Billing

Api Process Refund

Process a refund for a failed job.

From REPORT_FEATURE_1.md:

  • Hardware error → full refund
  • User OOM (exit 137) → zero refund
post/api/billing/refund

Request body

job_idstring required
exit_codeinteger required
failure_reasonstring

Response

Successful Response

{"stackTrail":"paths:/api/billing/refund:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes