Create Refund
Refund a completed order (full or partial)
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.createdevent) - Order API response (
GET /api/v2/orders) - Your database (store it when receiving
order.createdwebhook) - Dashboard order details
Refund Reasons
Request
Response
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 theorder_id - Gale splits automatically:
Partial Refund
Gale splits proportionally based on the original payment ratio:- 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:Errors
Amount Too Large
Already Refunded
Invalid State
Refund Timeline
Note: Actual timing depends on the customerβs card issuer.
Important Notes
Partial refunds are supported. You can issue multiple partial refunds up to the order total. The remaining refundable amount is tracked automatically.
Related Endpoints
- Get Order - GET /api/v2/orders/
- List Orders - GET /api/v2/orders
Related Resources
Create Refund
