UsageCredits::Fulfillment (1)
# {
:id => 3865,
:wallet_id => 3703,
:source_type => "Pay::Charge",
:source_id => 2546,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-02 00:38:31.767306000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2546,
"purchased_at" => "2026-05-02T00:38:31.762Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-02 00:38:31.767829000 UTC +00:00,
:updated_at => 2026-05-02 00:38:31.767829000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 6365,
:wallet_id => 3703,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2546,
"purchased_at" => "2026-05-02T00:38:31.762Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-02T00:38:31.764Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-02 00:38:31.765724000 UTC +00:00,
:updated_at => 2026-05-02 00:38:31.765724000 UTC +00:00
}
# {
:id => 6366,
:wallet_id => 3703,
:amount => 10,
:category => "bonus",
:expires_at => 2026-05-02 00:49:23.902291000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-05-02 00:48:23.907224000 UTC +00:00,
:updated_at => 2026-05-02 00:48:23.907224000 UTC +00:00
}