Saltar al contenido principal

Subscription-LastProration

What the most recent prorated change settled. Present only after a prorated change.

creditinteger<int32>

Unused time credited at the previous price, in the smallest currency unit.

Example: 500
chargeinteger<int32>

Time charged at the new price, in the smallest currency unit. An interval change charges the full new price rather than a fraction of it.

Example: 1200
netinteger<int32>

The settled difference, charge minus credit. A positive value was charged to the saved payment method. A negative value was refunded.

Example: 700
paymentIdPayment-Id

The payment that funds the current period on top of its renewal, and the first source a later refund draws on. Set to the new payment when a prorated change charges. A change that refunds or moves no money keeps whichever payment an earlier prorated charge in this period created, since that money is still what funds the period. Absent when no prorated charge has funded the current period.

Example: af6029f80f5fc73a8ad2753eea0b1be0
Subscription-LastProration
{
"credit": 500,
"charge": 1200,
"net": 700,
"paymentId": "af6029f80f5fc73a8ad2753eea0b1be0"
}