Adoption fees, deposits, and refunds
A Blüdhaven Pets adoption application carries four cost lines. Each line follows its own refund rule. Store associates and checkout integrations must apply the right rule to the right line, because a blanket refund fails reconciliation at month end.
Application cost lines
| Line item | Field | Amount | Refundable |
|---|---|---|---|
| Placement fee | placement_fee_cents | 15000 | Yes, inside the eligibility window |
| Reservation deposit | reservation_deposit_cents | 5000 | No |
| Municipal license | license_fee_cents | 2500 | No, transferred to Animal Control |
| Retail supplies | supplies_subtotal_cents | Varies | Yes, unopened only |
The platform charges the placement fee once per adoption. A household that adopts two animals pays two placement fees, because each animal carries its own intake, vaccination, and microchip cost.
Reservation deposits
A $50 reservation deposit converts a 30-minute hold into a scheduled pickup. The deposit is non-refundable in every case. It offsets the cost of holding a specific animal off the adoption floor, and it discourages speculative bookings that starve other adopters.
The deposit does transfer. If the adopter switches to a different animal within 14 days, the platform applies the original deposit to the new application. Release the old hold with DELETE /adoptions/holds/{holdId}, then call POST /adoptions/holds for the new animal and quote the original application id in notes. A counselor credits the deposit during review.
An adopter who misses a scheduled pickup forfeits the deposit after a 24-hour grace window. The animal returns to AVAILABLE and the application moves to CANCELLED_NO_SHOW.
Municipal licensing fees
The City of Blüdhaven collects the $25 license fee. Blüdhaven Pets collects the fee on the city's behalf and remits it monthly. The fee never returns to the adopter through the API. When an adoption cancels, the platform voids the license record with Animal Control and issues a credit through the municipality, not through the payment processor.
Handle this distinction in reporting. The license line appears on the application total, but it doesn't appear in refundable revenue.
Refund eligibility windows
The platform measures the window from submitted_at on the application, not from the pickup date.
| Window | Application state | Refund issued |
|---|---|---|
0 to 48 hours after submitted_at | Before pickup | Placement fee plus unopened retail supplies |
48 hours to 7 days after submitted_at | Before pickup | 50 percent of the placement fee plus unopened retail supplies |
| After pickup, any time | Any state | The application becomes non-refundable. Process a surrender instead. |
| Medical disqualification | Any state | Full placement fee, deposit included |
Medical disqualification override
When a veterinarian discovers a disqualifying condition after placement and before pickup, the platform waives every window rule. The API returns the full application total, deposit included, and moves the animal to MEDICAL_QUARANTINE.
Trigger this path with POST /refunds and reason: MEDICAL_DISQUALIFICATION. The request needs a veterinary_record_id that resolves to a cleared certificate.
Refund reasons
reason accepts four values. The window table decides which one applies.
reason | Use when | Returns |
|---|---|---|
CANCELLATION_INSIDE_48H | The adopter cancels inside 48 hours and before pickup | The placement fee plus unopened supplies |
CANCELLATION_AFTER_48H | The adopter cancels after 48 hours and before pickup | 50 percent of the placement fee plus unopened supplies |
RETAIL_SUPPLIES_ONLY | Only the supplies line comes back | Unopened supplies |
MEDICAL_DISQUALIFICATION | A veterinarian finds a disqualifying condition before pickup | The full total, deposit included. Needs veterinary_record_id |
Issuing a refund
curl -X POST https://api.bludhavenpets.com/v1/refunds \
-H "Authorization: Bearer $BLUDHAVEN_TOKEN" \
-H "Idempotency-Key: 8f14e45f-ceea-467f-a1c2-3d4e5f607182" \
-H "Content-Type: application/json" \
-d '{
"application_id": "app_2026_1188",
"amount_cents": 10000,
"reason": "CANCELLATION_AFTER_48H",
"refund_retail_supplies": true
}'
The response confirms the split between the placement fee and the supplies line:
{
"id": "rfd_01HQ9B7TX4",
"application_id": "app_2026_1188",
"amount_cents": 10000,
"breakdown": {
"placement_fee_cents": 7500,
"retail_supplies_cents": 2500
},
"withheld": {
"reservation_deposit_cents": 5000,
"license_fee_cents": 2500
},
"status": "PENDING",
"settles_at": "2026-11-19T14:00:00Z"
}
Refund timing
Card refunds settle in three to five business days. Store credit settles immediately. POST /refunds requires the admin:adoptions scope, so a counselor approves the request before money moves.
The settles_at timestamp reflects the processor estimate. Read status rather than guessing from elapsed time, and listen for the refund.settled webhook before you close the application.
Idempotency
Refund requests need an Idempotency-Key. A retried request with the same key returns the original refund object with a 200 status instead of issuing a second refund. Keys expire after 24 hours.
Send a new key only when the amount, reason, or application changes. Reusing a key with a different body returns 422 idempotency_key_reuse.
Related guides
- Compliance and licensing - read the full municipal fee schedule and license issuance rules.
- Adoption holds and concurrency - learn how deposits interact with 30-minute reservation locks.
- Domain model - review the application and adoption entities this fee logic depends on.