UsageCredits::Fulfillment (1)
# {
:id => 4558,
:wallet_id => 4335,
:source_type => "Pay::Charge",
:source_id => 3053,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-26 19:52:50.075710000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3053,
"purchased_at" => "2026-07-26T19:52:50.021Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-26 19:52:50.086232000 UTC +00:00,
:updated_at => 2026-07-26 19:52:50.086232000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 7537,
:wallet_id => 4335,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3053,
"purchased_at" => "2026-07-26T19:52:50.021Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-26T19:52:50.043Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-26 19:52:50.066793000 UTC +00:00,
:updated_at => 2026-07-26 19:52:50.066793000 UTC +00:00
}
# {
:id => 7538,
:wallet_id => 4335,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-26 20:01:07.114563000 UTC +00:00,
:updated_at => 2026-07-26 20:01:07.114563000 UTC +00:00
}