UsageCredits::Fulfillment (4)
# {
:id => 6303,
:wallet_id => 6001,
:source_type => "Pay::Subscription",
:source_id => 1939,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-30 23:23:07.557453000 UTC +00:00,
:next_fulfillment_at => 2026-12-30 23:23:07.553895000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1939,
"plan" => "abcdef123456"
},
:created_at => 2026-11-30 23:23:07.557932000 UTC +00:00,
:updated_at => 2026-11-30 23:23:07.557932000 UTC +00:00
}
# {
:id => 6304,
:wallet_id => 6001,
:source_type => "Pay::Charge",
:source_id => 4365,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-30 23:23:10.209822000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4365,
"purchased_at" => "2026-11-30T23:23:10.205Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-30 23:23:10.210240000 UTC +00:00,
:updated_at => 2026-11-30 23:23:10.210240000 UTC +00:00
}
# {
:id => 6305,
:wallet_id => 6001,
:source_type => "Pay::Charge",
:source_id => 4366,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-30 23:23:12.519043000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4366,
"purchased_at" => "2026-11-30T23:23:12.515Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-30 23:23:12.519437000 UTC +00:00,
:updated_at => 2026-11-30 23:23:12.519437000 UTC +00:00
}
# {
:id => 6306,
:wallet_id => 6001,
:source_type => "Pay::Charge",
:source_id => 4367,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-30 23:23:16.219505000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4367,
"purchased_at" => "2026-11-30T23:23:16.215Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-30 23:23:16.219941000 UTC +00:00,
:updated_at => 2026-11-30 23:23:16.219941000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 10306,
:wallet_id => 6001,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-30 23:28:07.553895000 UTC +00:00,
:fulfillment_id => 6303,
:metadata => {
"subscription_id" => 1939,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-30T23:23:07.555Z"
},
:created_at => 2026-11-30 23:23:07.556456000 UTC +00:00,
:updated_at => 2026-11-30 23:23:07.556456000 UTC +00:00
}
# {
:id => 10307,
:wallet_id => 6001,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4365,
"purchased_at" => "2026-11-30T23:23:10.205Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-30T23:23:10.207Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-30 23:23:10.208337000 UTC +00:00,
:updated_at => 2026-11-30 23:23:10.208337000 UTC +00:00
}
# {
:id => 10308,
:wallet_id => 6001,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4366,
"purchased_at" => "2026-11-30T23:23:12.515Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-30T23:23:12.517Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-30 23:23:12.518033000 UTC +00:00,
:updated_at => 2026-11-30 23:23:12.518033000 UTC +00:00
}
# {
:id => 10309,
:wallet_id => 6001,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4367,
"purchased_at" => "2026-11-30T23:23:16.215Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-30T23:23:16.217Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-30 23:23:16.218011000 UTC +00:00,
:updated_at => 2026-11-30 23:23:16.218011000 UTC +00:00
}
# {
:id => 10310,
:wallet_id => 6001,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-30 23:23:18.403444000 UTC +00:00,
:updated_at => 2026-11-30 23:23:18.403444000 UTC +00:00
}
# {
:id => 10311,
:wallet_id => 6001,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-30 23:23:21.024947000 UTC +00:00,
:updated_at => 2026-11-30 23:23:21.024947000 UTC +00:00
}
# {
:id => 10312,
:wallet_id => 6001,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-30 23:24:23.537761000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-30 23:23:23.539999000 UTC +00:00,
:updated_at => 2026-11-30 23:23:23.539999000 UTC +00:00
}