UsageCredits::Fulfillment (4)
# {
:id => 4365,
:wallet_id => 4186,
:source_type => "Pay::Subscription",
:source_id => 1454,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-07-04 03:58:42.048516000 UTC +00:00,
:next_fulfillment_at => 2026-08-04 03:58:41.991043000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1454,
"plan" => "abcdef123456"
},
:created_at => 2026-07-04 03:58:42.065758000 UTC +00:00,
:updated_at => 2026-07-04 03:58:42.065758000 UTC +00:00
}
# {
:id => 4366,
:wallet_id => 4186,
:source_type => "Pay::Charge",
:source_id => 2912,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-04 03:58:43.682867000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2912,
"purchased_at" => "2026-07-04T03:58:43.668Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-04 03:58:43.683956000 UTC +00:00,
:updated_at => 2026-07-04 03:58:43.683956000 UTC +00:00
}
# {
:id => 4367,
:wallet_id => 4186,
:source_type => "Pay::Charge",
:source_id => 2913,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-04 03:58:45.498959000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2913,
"purchased_at" => "2026-07-04T03:58:45.490Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-04 03:58:45.499877000 UTC +00:00,
:updated_at => 2026-07-04 03:58:45.499877000 UTC +00:00
}
# {
:id => 4368,
:wallet_id => 4186,
:source_type => "Pay::Charge",
:source_id => 2914,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-04 03:58:46.201774000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2914,
"purchased_at" => "2026-07-04T03:58:46.196Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-04 03:58:46.202272000 UTC +00:00,
:updated_at => 2026-07-04 03:58:46.202272000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 7218,
:wallet_id => 4186,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-04 03:59:40.691340000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-04 03:58:40.747003000 UTC +00:00,
:updated_at => 2026-07-04 03:58:40.747003000 UTC +00:00
}
# {
:id => 7219,
:wallet_id => 4186,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-08-04 04:03:41.991043000 UTC +00:00,
:fulfillment_id => 4365,
:metadata => {
"subscription_id" => 1454,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-07-04T03:58:42.036Z"
},
:created_at => 2026-07-04 03:58:42.041489000 UTC +00:00,
:updated_at => 2026-07-04 03:58:42.041489000 UTC +00:00
}
# {
:id => 7220,
:wallet_id => 4186,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-04 03:58:42.775787000 UTC +00:00,
:updated_at => 2026-07-04 03:58:42.775787000 UTC +00:00
}
# {
:id => 7221,
:wallet_id => 4186,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2912,
"purchased_at" => "2026-07-04T03:58:43.668Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-04T03:58:43.675Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-04 03:58:43.678976000 UTC +00:00,
:updated_at => 2026-07-04 03:58:43.678976000 UTC +00:00
}
# {
:id => 7222,
:wallet_id => 4186,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-07-04 03:58:44.792178000 UTC +00:00,
:updated_at => 2026-07-04 03:58:44.792178000 UTC +00:00
}
# {
:id => 7223,
:wallet_id => 4186,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2913,
"purchased_at" => "2026-07-04T03:58:45.490Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-04T03:58:45.494Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-04 03:58:45.495890000 UTC +00:00,
:updated_at => 2026-07-04 03:58:45.495890000 UTC +00:00
}
# {
:id => 7224,
:wallet_id => 4186,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2914,
"purchased_at" => "2026-07-04T03:58:46.196Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-04T03:58:46.198Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-04 03:58:46.200191000 UTC +00:00,
:updated_at => 2026-07-04 03:58:46.200191000 UTC +00:00
}