UsageCredits::Fulfillment (4)
# {
:id => 3384,
:wallet_id => 3254,
:source_type => "Pay::Subscription",
:source_id => 1186,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-02-28 13:39:24.415297000 UTC +00:00,
:next_fulfillment_at => 2026-03-28 13:39:24.411566000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1186,
"plan" => "abcdef123456"
},
:created_at => 2026-02-28 13:39:24.415863000 UTC +00:00,
:updated_at => 2026-02-28 13:39:24.415863000 UTC +00:00
}
# {
:id => 3385,
:wallet_id => 3254,
:source_type => "Pay::Charge",
:source_id => 2199,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-28 13:51:31.534548000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2199,
"purchased_at" => "2026-02-28T13:51:31.527Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-02-28 13:51:31.535102000 UTC +00:00,
:updated_at => 2026-02-28 13:51:31.535102000 UTC +00:00
}
# {
:id => 3386,
:wallet_id => 3254,
:source_type => "Pay::Charge",
:source_id => 2200,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-28 14:18:14.802931000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2200,
"purchased_at" => "2026-02-28T14:18:14.794Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-02-28 14:18:14.803503000 UTC +00:00,
:updated_at => 2026-02-28 14:18:14.803503000 UTC +00:00
}
# {
:id => 3387,
:wallet_id => 3254,
:source_type => "Pay::Charge",
:source_id => 2201,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-28 14:31:09.081955000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2201,
"purchased_at" => "2026-02-28T14:31:09.068Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-02-28 14:31:09.083974000 UTC +00:00,
:updated_at => 2026-02-28 14:31:09.083974000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 5549,
:wallet_id => 3254,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-03-28 13:44:24.411566000 UTC +00:00,
:fulfillment_id => 3384,
:metadata => {
"subscription_id" => 1186,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-02-28T13:39:24.412Z"
},
:created_at => 2026-02-28 13:39:24.413828000 UTC +00:00,
:updated_at => 2026-02-28 13:39:24.413828000 UTC +00:00
}
# {
:id => 5550,
:wallet_id => 3254,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2199,
"purchased_at" => "2026-02-28T13:51:31.527Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-28T13:51:31.531Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-02-28 13:51:31.533001000 UTC +00:00,
:updated_at => 2026-02-28 13:51:31.533001000 UTC +00:00
}
# {
:id => 5551,
:wallet_id => 3254,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-02-28 14:03:26.878586000 UTC +00:00,
:updated_at => 2026-02-28 14:03:26.878586000 UTC +00:00
}
# {
:id => 5552,
:wallet_id => 3254,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2200,
"purchased_at" => "2026-02-28T14:18:14.794Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-28T14:18:14.799Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-02-28 14:18:14.801095000 UTC +00:00,
:updated_at => 2026-02-28 14:18:14.801095000 UTC +00:00
}
# {
:id => 5553,
:wallet_id => 3254,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2201,
"purchased_at" => "2026-02-28T14:31:09.068Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-28T14:31:09.075Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-02-28 14:31:09.078149000 UTC +00:00,
:updated_at => 2026-02-28 14:31:09.078149000 UTC +00:00
}
# {
:id => 5554,
:wallet_id => 3254,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-02-28 14:43:15.275325000 UTC +00:00,
:updated_at => 2026-02-28 14:43:15.275325000 UTC +00:00
}
# {
:id => 5555,
:wallet_id => 3254,
:amount => 10,
:category => "bonus",
:expires_at => 2026-02-28 14:58:11.560567000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-02-28 14:57:11.565112000 UTC +00:00,
:updated_at => 2026-02-28 14:57:11.565112000 UTC +00:00
}