# Refunds (/docs/guides/refunds)

Request a refund for a successful collection with `POST /refunds/transactions/{transactionId}` (`refunds:create`):

```bash
curl https://api.creddot.com/api/v1/refunds/transactions/{transactionId} \
  -H "x-api-key: $CREDDOT_API_KEY" -H "x-api-secret: $CREDDOT_API_SECRET" \
  -H "x-idempotency-key: refund-ORDER-10042" -H "content-type: application/json" \
  -d '{ "amountMinor": "100000", "reason": "Item out of stock" }'
```

Leave out `amountMinor` to refund everything that hasn't been refunded yet. Refunds are reviewed by Creddot before money moves: you get `refund.requested` straight away, and you can follow progress with `GET /refunds/{refundId}`.
