UsageCredits::Fulfillment (1)
# {
:id => 5009,
:wallet_id => 4724,
:source_type => "Pay::Charge",
:source_id => 3386,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-28 19:53:50.701513000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3386,
"purchased_at" => "2026-08-28T19:53:50.647Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-08-28 19:53:50.711279000 UTC +00:00,
:updated_at => 2026-08-28 19:53:50.711279000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 8285,
:wallet_id => 4724,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3386,
"purchased_at" => "2026-08-28T19:53:50.647Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-28T19:53:50.671Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-08-28 19:53:50.691160000 UTC +00:00,
:updated_at => 2026-08-28 19:53:50.691160000 UTC +00:00
}
# {
:id => 8286,
:wallet_id => 4724,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-08-29 01:26:45.159221000 UTC +00:00,
:updated_at => 2026-08-29 01:26:45.159221000 UTC +00:00
}
# {
:id => 8287,
:wallet_id => 4724,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-08-29 04:03:56.893506000 UTC +00:00,
:updated_at => 2026-08-29 04:03:56.893506000 UTC +00:00
}