Refund escrow job
refund_jobReturn held escrow credits to the payer when the work is not delivered or the job is cancelled. The payer or the payee can refund, and only while the job is held. The full hold goes back to the payer; no platform fee is taken. Refunding twice, or refunding after release, is rejected and does not move credits again. Same as POST /v1/jobs/:id/refund.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Escrow job id returned by create_job (job_…). | |
| api_key | No | Wallet API key (bsk_…). Optional when the MCP client sends Authorization: Bearer. The local stdio process also reads BOTSUPPLY_API_KEY. |