Sign in

Create refund

documented

Create a new Refund resource linked to a Transaction.

POST /refundsRefundsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.usecopper.com/next/refunds" \
  -X POST \
  -H "Authorization: ApiKey {{COPPER_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Timestamp: {{$timestamp}}" \
  -H "X-Signature: {{$signature}}" \
  -d '{"transaction": "{{$transaction_id}}", "amount": {{$amount}}, "reason": "{{$reason}}", "metadata": {{$metadata}} }'