UsageCredits::Fulfillment (1)
# {
:id => 5550,
:wallet_id => 5309,
:source_type => "Pay::Charge",
:source_id => 3807,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-17 13:50:47.754781000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3807,
"purchased_at" => "2026-10-17T13:50:47.751Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-17 13:50:47.755076000 UTC +00:00,
:updated_at => 2026-10-17 13:50:47.755076000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 9121,
:wallet_id => 5309,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3807,
"purchased_at" => "2026-10-17T13:50:47.751Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-17T13:50:47.753Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-17 13:50:47.753811000 UTC +00:00,
:updated_at => 2026-10-17 13:50:47.753811000 UTC +00:00
}
# {
:id => 9122,
:wallet_id => 5309,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-17 14:01:25.422567000 UTC +00:00,
:updated_at => 2026-10-17 14:01:25.422567000 UTC +00:00
}
# {
:id => 9123,
:wallet_id => 5309,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-17 17:05:56.613070000 UTC +00:00,
:updated_at => 2026-10-17 17:05:56.613070000 UTC +00:00
}