UsageCredits::Fulfillment (1)
# {
:id => 5778,
:wallet_id => 5543,
:source_type => "Pay::Charge",
:source_id => 3978,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-30 08:20:17.822155000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3978,
"purchased_at" => "2026-10-30T08:20:17.818Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-30 08:20:17.822594000 UTC +00:00,
:updated_at => 2026-10-30 08:20:17.822594000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 9493,
:wallet_id => 5543,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-30 07:08:53.725754000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-30 07:07:53.729118000 UTC +00:00,
:updated_at => 2026-10-30 07:07:53.729118000 UTC +00:00
}
# {
:id => 9494,
:wallet_id => 5543,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3978,
"purchased_at" => "2026-10-30T08:20:17.818Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-30T08:20:17.819Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-30 08:20:17.820859000 UTC +00:00,
:updated_at => 2026-10-30 08:20:17.820859000 UTC +00:00
}