Refunds

Create refund

Creates a new refund for an order

post/refunds

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/refunds
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

orderstring

Order ID to refund

amountinteger nullable

Amount to refund in cents (omit for full refund)

reasonstring nullable

Reason for the refund

notesstring nullable

Internal notes about the refund

Response

Refund created

idstring required
objectstring required
amountinteger required
currencystring required
reasonstring required
statusstring required
created_atstring required
providerstring required
metadataobject required
orderstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.