Get Refund Preview
Previews the prorated refund that would result from canceling a subscription. Runs the same validation as a real prorated refund but issues no refund and creates no records, so it is safe to call repeatedly. Returns the prorated amount available to refund, the amount paid on the latest invoice, the current billing period, and the card that would be refunded.
Authorizations
Use a Bearer token to access this API.
Path Parameters
"fsub_01J9XR8M3K7VZ8N2YB4WJ6T0RA"
Response
Success
The result of previewing a prorated refund for a subscription cancellation, without issuing any refund. Reflects what would be refunded based on the remaining billing period.
Prorated amount available to refund, in the smallest currency unit (e.g., 1499 = $14.99 USD), based on the unused portion of the current billing period.
2500
Total amount paid on the subscription's latest invoice, in the smallest currency unit (e.g., 2999 = $29.99 USD).
2500
Start of the current billing period, as an RFC 3339 timestamp.
"2026-06-15T14:30:00Z"
End of the current billing period, as an RFC 3339 timestamp.
"2026-06-15T14:30:00Z"
The payment method ID that would be refunded, if available
"fpm_01J9XR8M3K7VZ8N2YB4WJ6T0RA"
Last 4 digits of the card that would be refunded, if available
"4242"