UsageCredits::Fulfillment (1)
# {
:id => 3436,
:wallet_id => 3289,
:source_type => "Pay::Charge",
:source_id => 2237,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-11 15:57:06.750079000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2237,
"purchased_at" => "2026-03-11T15:57:06.732Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-03-11 15:57:06.757796000 UTC +00:00,
:updated_at => 2026-03-11 15:57:06.757796000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 5638,
:wallet_id => 3289,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-03-11 14:30:54.580101000 UTC +00:00,
:updated_at => 2026-03-11 14:30:54.580101000 UTC +00:00
}
# {
:id => 5639,
:wallet_id => 3289,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2237,
"purchased_at" => "2026-03-11T15:57:06.732Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-11T15:57:06.743Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-03-11 15:57:06.746168000 UTC +00:00,
:updated_at => 2026-03-11 15:57:06.746168000 UTC +00:00
}