Skip to main content

Refund the GoCardless collection of an invoice

POST 

/api/v1/invoices/:invoice_id/gocardless_refund

Refunds the invoice's settled GoCardless collection IN FULL and issues the matching credit note once the refund settles or, if it never does, 45 days after it was paid. A refund replacing one whose funds came back carries the credit note already issued, from creation. Partial refunds are not supported. Takes no request body: the amount is the collection's own. A 201 means the refund was accepted by GoCardless, not that the money has arrived - poll GET on this same path and read status and settled_at. Requires the gocardless_payment feature and a company whose offer allows sales.

Request​

Responses​

The refund was requested.

Response Headers
    Idempotency-Replayed

    Present, and always true, when this response is the stored reply to an earlier call bearing the same Idempotency-Key. No refund was requested by the request that received it. Absent on the call that actually requested one.