Refunds
A refund request asks the fleet that delivered an order to credit you for a delivery that went wrong. Send it with POST /v3/refunds and the refunds:write scope. See Create DSP Refund Request for the full request.
Each fleet delivery can have one refund request. A second request for the same delivery returns 400.
Refund codes
Section titled “Refund codes”refund_code takes one of six values. They are Grubhub’s refund reasons, and First passes them to Grubhub unchanged. They are required when the delivery was made by Grubhub and optional for other fleets, where First stores them with the request.
| Code | Suggested label | Use it when |
|---|---|---|
MISSED_DROPOFF_ETA |
Late delivery | The order arrived after the drop-off time the fleet promised. |
WRONG_ADDRESS_DELIVERY |
Delivered to the wrong address | The courier left the order somewhere other than the customer’s address. |
INCOMPLETE_DELIVERY |
Not delivered | The courier picked the order up but never delivered it. |
INCOMPLETE_DELIVERY_CONTENTS |
Missing or damaged items | The order arrived, but items were missing, spilled, or damaged in transit. |
POOR_DELIVERY_EXPERIENCE |
Poor courier conduct | The order arrived complete, but the courier’s handling or behavior was unacceptable. |
OTHER |
Other | None of the above. Explain the issue in description. |
The fleet decides whether a code applies. Always write a specific description: it is sent with every request, and Grubhub receives its first 512 characters. For Grubhub, First also attaches the photo on file for the delivery when there is one.
Fleets
Section titled “Fleets”| Fleet | How First submits the request | How the decision comes back |
|---|---|---|
| Grubhub | Grubhub’s refund API, with refund_code |
Grubhub refund webhook |
| DoorDash, Uber | Email to the fleet’s support team | The fleet’s refund webhook |
| Dlivrd, Motoclick, Ally | Email to the fleet’s support team | Recorded by First |
Other fleets do not accept refund requests through First, and the API returns 400 for them. Just Eat handles compensation through its own claim form, which must be submitted within 30 days of the delivery.
Status
Section titled “Status”A new request is submitted. When the fleet decides, First records the outcome:
| Status | Meaning |
|---|---|
approved |
The fleet refunded at least the amount requested. |
partial_approved |
The fleet refunded part of the amount. |
rejected |
The fleet refunded nothing. |
Read requests with GET /v3/refunds. When a fleet reports a refund by webhook, First also sends you a Refunded webhook event with a provider-specific payload. See Webhooks.

