curl https://api.alguna.io/refunds/ref_abc123 \ -H "Authorization: Bearer YOUR_API_KEY"
{ "id": "ref_abc123", "amount": "99.00", "status": "succeeded", "currency": "USD", "accountId": "acc_xyz789", "paymentId": "pay_def456", "reason": "Customer requested refund", "failureReason": null, "processorId": "re_stripe_123", "externalId": "re_1234567890", "externalUrl": "https://dashboard.stripe.com/refunds/re_1234567890", "createdAt": "2024-01-20T10:00:00Z", "updatedAt": "2024-01-20T10:05:00Z" }
pending
processing
succeeded
failed
canceled