GoCardlessDeveloper Docs
Create a sandbox account

Refund event types

Every event type, cause, and origin for refund resources.

Each section below is an action on a refunds event. Each row under it is one way that event can happen, identified by its origin and cause. See Event types for how these fit into an event, or the Refund API for the resource itself.

created#

A refund has been created. The details[cause] will be payment_refunded, and the details[origin] will be api.

CauseDescription
Originapi
payment_refundedThe refund has been created, and will be submitted in the next batch.
refund_createdThe refund has been created, and will be submitted in the next batch.

failed#

The refund did not reach your customer, the funds will be returned to you. The details[cause] will be refund_failed, and the details[origin] will be gocardless.

It is important to note that the 'failed' and 'refund_settled' events are not associated. A refund can fail even after it's been settled. If a refund fails, GoCardless has attempted to refund the customer and has already deducted the applicable funds from one of your payouts. The refund has then subsequently failed to reach the customer. If this occurs, the funds will be returned to you.

CauseDescription
Origingocardless
refund_failedThe refund did not reach your customer, the funds will be returned to you.

The refund has been paid to your customer. The details[cause] will be refund_paid, and the details[origin] will be gocardless.

CauseDescription
Origingocardless
refund_paidThe refund has been paid to your customer.

refund_settled#

The refund has been deducted from a payout. The details[cause] will be refund_settled, and the details[origin] will be gocardless.

CauseDescription
Origingocardless
refund_settledThe refund has been deducted from a payout.

funds_returned#

The refund has been credited in a payout. The details[cause] will be refund_funds_returned, and the details[origin] will be gocardless.

CauseDescription
Origingocardless
refund_funds_returnedThe funds for the refund have been returned to you.