> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bachs.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Money is always a decimal string at the currency's precision (for example "29.00"), paired with an ISO 4217 currency field. Never use minor units.
> Build against the sandbox first: base URL https://sandbox-api.bachs.io with sk_sandbox_ keys. Production is https://api.bachs.io with sk_live_ keys; going live is a key swap.
> Treat webhooks (for example collection.succeeded) as the source of truth for fulfilment, never client-side events or redirects.
> Subscriptions are created by completing a checkout for a recurring product. There is no direct create-subscription endpoint.
> IDs carry resource prefixes (cust_, prod_, sub_, chk_, inv_, ref_) and timestamps are ISO 8601 UTC.

# refund.created

> Occurs when a refund is created and begins processing.

Sent when you create a refund. Use it to track the refund to completion.

```json Event theme={"dark"}
{
  "id": "evt_1a2b3c4d5e6f7g8h",
  "type": "refund.created",
  "created_at": "2026-04-27T12:00:00.000000+00:00",
  "organization_id": "acct_7KpQ2mNv4XbR9dLc",
  "data": {
    "refund_id": "ref_1a2b3c4d5e",
    "charge_id": "ch_1a2b3c4d5e6f",
    "reference": "refund_9876",
    "status": "processing",
    "requested_amount": "10.00",
    "refunded_amount": "0.00",
    "refund_fee_amount": "0.00",
    "fee_bearer": "merchant",
    "reason": "Customer request"
  }
}
```

## Event fields

**id** `string`

The event's unique identifier, prefixed `evt_`. Use it to deduplicate deliveries.

**type** `string`

Always `refund.created`.

**created\_at** `string`

When the event occurred, in UTC.

**organization\_id** `string`

Your account's ID.

**data.refund\_id** `string`

The refund's ID.

**data.charge\_id** `string`

The charge being refunded.

**data.reference** `string`

The reference you set when you requested the refund. Required, so it is always present.

**data.status** `string`

Refund status, e.g. `processing`, `paid`, `failed`.

**data.requested\_amount** `string`

The amount requested to refund, as a decimal string.

**data.refunded\_amount** `string | null`

The amount actually refunded so far.

**data.refund\_fee\_amount** `string`

The fee charged on the refund, if any.

**data.fee\_bearer** `string`

Who absorbs the refund fee, `customer` or `merchant`.

**data.reason** `string | null`

The reason for the refund, when provided.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.