Requests a full or partial refund of a transaction from its payment processor and returns the created refund. The same rules apply as for refunds requested from the admin panel.
The refund is created before the payment processor is called, so the response always describes a stored refund that can be read later through the transaction refunds resource. Most payment processors confirm a refund asynchronously: follow the refund's status through the transaction refunds resource, using lastUpdatedAfter to pick up changes.
For a transaction recorded as an offline payment (paymentMethodId bank_transfer:offline), no payment processor is called. The refund is recorded straight away and returned with status finalized and no reference. Full or partial amounts are accepted up to the remaining refundable amount. The money must be returned to the driver outside the platform.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
