UsageCredits::Fulfillment (1)
# {
:id => 3837,
:wallet_id => 3668,
:source_type => "Pay::Charge",
:source_id => 2527,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-29 06:01:11.061285000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2527,
"purchased_at" => "2026-04-29T06:01:11.039Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-04-29 06:01:11.064265000 UTC +00:00,
:updated_at => 2026-04-29 06:01:11.064265000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 6320,
:wallet_id => 3668,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2527,
"purchased_at" => "2026-04-29T06:01:11.039Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-29T06:01:11.046Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-04-29 06:01:11.056244000 UTC +00:00,
:updated_at => 2026-04-29 06:01:11.056244000 UTC +00:00
}
# {
:id => 6321,
:wallet_id => 3668,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-04-29 07:11:04.955889000 UTC +00:00,
:updated_at => 2026-04-29 07:11:04.955889000 UTC +00:00
}