Skip to main content
POST
Create Refund

Create Refund

Issue a full or partial refund for a completed order. Refunds are processed back to the original payment method (HSA/FSA card or regular card).

Authentication

Request Body

All monetary amounts are integers in cents (e.g., 4995 = $49.95).

Parameters

Finding Order ID: You can get the order_id from:
  • Webhook event data (order.created event)
  • Order API response (GET /api/v2/orders)
  • Your database (store it when receiving order.created webhook)
  • Dashboard order details

Refund Reasons

Request

Response

Fields are returned under data.

Response Fields

Examples

Full Refund

Partial Refund

Refund Status

Split Card Refunds (Automatic)

Gale automatically handles split card refunds. You don’t need to specify how much goes to each card. When an order is paid with both HSA/FSA and regular card:

Full Refund

Just provide the order_id - Gale splits automatically:
Response shows the breakdown:

Partial Refund

Gale splits proportionally based on the original payment ratio:
Response:
Key Points:
  • You only specify total amount
  • Gale calculates the split automatically
  • Each amount refunds to its original payment method
  • Response shows the breakdown for your records

Webhooks

Refunds trigger the following webhook events:
See Webhooks Reference for all refund events.

Errors

Amount Too Large

Already Refunded

Invalid State

Refund Timeline

Note: Actual timing depends on the customer’s card issuer.

Important Notes

Refunds cannot be undone. Once a refund is processed, it cannot be reversed. Double-check order ID and amount before submitting.
Partial refunds are supported. You can issue multiple partial refunds up to the order total. The remaining refundable amount is tracked automatically.