UsageCredits::Fulfillment (1)
# {
:id => 4247,
:wallet_id => 4055,
:source_type => "Pay::Charge",
:source_id => 2824,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-06-16 01:17:11.769544000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2824,
"purchased_at" => "2026-06-16T01:17:11.758Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-06-16 01:17:11.770342000 UTC +00:00,
:updated_at => 2026-06-16 01:17:11.770342000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 7017,
:wallet_id => 4055,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2824,
"purchased_at" => "2026-06-16T01:17:11.758Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-06-16T01:17:11.762Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-06-16 01:17:11.764519000 UTC +00:00,
:updated_at => 2026-06-16 01:17:11.764519000 UTC +00:00
}
# {
:id => 7018,
:wallet_id => 4055,
:amount => 10,
:category => "bonus",
:expires_at => 2026-06-16 12:26:53.319782000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-06-16 12:25:53.352607000 UTC +00:00,
:updated_at => 2026-06-16 12:25:53.352607000 UTC +00:00
}