Refund Payment
Create a full or partial refund for a payment
POST
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint creates a refund for a captured payment. Refunds can be partial or full amount.
Authentication
This endpoint requires a valid API key withpayments:write permissions.
Path Parameters
The payment ID to refund
Request Body
Amount to refund in cents (defaults to full payment amount)
Refund reason: “duplicate”, “fraudulent”, “requested_by_customer”, “defective”, “other”
Internal notes about the refund
Whether to send refund notification email (default: true)
Additional metadata for the refund