Issues a full or partial refund for a specific Stripe charge.Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
URL Parameters
The ID of the community
The ID of the community membership
Request Body
Stripe charge ID to refund (e.g., “ch_1234567890”)
Amount to refund in cents (optional, defaults to full charge amount)
Refund reason:
duplicate, fraudulent, or requested_by_customer (default)Returns
Returns a success message.Error Responses
Notes
- Authorization: Community owner or admin only
- Charge Validation: System verifies charge belongs to this member
- Partial Refunds: Can refund less than the full charge amount
- Multiple Partial Refunds: Can issue multiple partial refunds up to charge total
- Metadata: Refund details are stored in member metadata
- Stripe: Refund is processed through Stripe

