API Reference
Log In
API Reference

Issue a Refund

Issues a refund against a subscription of the team, in the currency of the subscription's product. When the subscription has a draft invoice the refund is credited on it; a refund larger than that invoice's total is still recorded. The refund is recorded as created by the caller.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A refund to issue against a subscription.

string
required
length ≥ 1

Identifier of the team that owns the subscription

string
required
length ≥ 1

Identifier of the subscription the refund is issued against

number
required

Amount to refund, in the currency of the subscription's product

string | null

Free-text reason for the refund, shown with it in the refund list

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json
*/*