POST
Issue

Authorizations

Authorization
string
header
required

Interactive user session: the login JWT, sent as Authorization: Bearer <token>.

Body

application/json
org_id
integer
required
amount_cents
integer
required

Credit amount in cents (positive)

reason_code
string
required

One of: billing_error, service_credit, goodwill, disputed_charge, duplicate_charge, other

idempotency_key
string
required

Caller-provided idempotency key (e.g. UUID)

Minimum string length: 1
invoice_id
string<uuid> | null
notes
string | null

Response

Successful Response

id
string<uuid>
required
organization_id
integer
required
invoice_id
string<uuid> | null
required
amount_cents
integer
required
reason_code
string
required
notes
string | null
required
idempotency_key
string
required
issued_by_user_id
integer
required
approved_by_user_id
integer | null
required
ledger_transaction_id
string<uuid> | null
required
status
string
required
stripe_credit_note_id
string | null
required
created_at
string
required
applied_at
string | null
required