Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Body

application/json
order
string

Order ID to refund

amount
integer | null

Amount to refund in cents (omit for full refund)

reason
string | null

Reason for the refund

notes
string | null

Internal notes about the refund

Response

Refund created

id
string
required
object
string
required
amount
integer
required
currency
string
required
reason
string
required
status
string
required
created_at
string
required
provider
string
required
metadata
object
required
order
string
required