type: "refund". This provides a unified way to manage all monetary movements including payments, refunds, and credits.
Migration Guide
Previous V3 Approach
New V4 Approach
Key Changes
| V3 Field | V4 Transaction Field |
|---|---|
| refund_id | platform_id |
| amount | amount |
| payment_id | original_transaction_id |
| status | status |
| - | type (set to “refund”) |
| - | reason |
| - | reason_code |