UsageCredits::Fulfillment (4)
# {
:id => 5725,
:wallet_id => 5482,
:source_type => "Pay::Subscription",
:source_id => 1788,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-29 03:44:18.778079000 UTC +00:00,
:next_fulfillment_at => 2026-11-29 03:44:18.775140000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1788,
"plan" => "abcdef123456"
},
:created_at => 2026-10-29 03:44:18.778479000 UTC +00:00,
:updated_at => 2026-10-29 03:44:18.778479000 UTC +00:00
}
# {
:id => 5726,
:wallet_id => 5482,
:source_type => "Pay::Charge",
:source_id => 3938,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-29 03:44:20.366180000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3938,
"purchased_at" => "2026-10-29T03:44:20.363Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-29 03:44:20.366512000 UTC +00:00,
:updated_at => 2026-10-29 03:44:20.366512000 UTC +00:00
}
# {
:id => 5727,
:wallet_id => 5482,
:source_type => "Pay::Charge",
:source_id => 3939,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-29 03:44:22.963115000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3939,
"purchased_at" => "2026-10-29T03:44:22.959Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 03:44:22.963403000 UTC +00:00,
:updated_at => 2026-10-29 03:44:22.963403000 UTC +00:00
}
# {
:id => 5728,
:wallet_id => 5482,
:source_type => "Pay::Charge",
:source_id => 3940,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-29 03:44:24.700646000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3940,
"purchased_at" => "2026-10-29T03:44:24.696Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 03:44:24.700938000 UTC +00:00,
:updated_at => 2026-10-29 03:44:24.700938000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 9407,
:wallet_id => 5482,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-29 03:49:18.775140000 UTC +00:00,
:fulfillment_id => 5725,
:metadata => {
"subscription_id" => 1788,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-29T03:44:18.776Z"
},
:created_at => 2026-10-29 03:44:18.777177000 UTC +00:00,
:updated_at => 2026-10-29 03:44:18.777177000 UTC +00:00
}
# {
:id => 9408,
:wallet_id => 5482,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3938,
"purchased_at" => "2026-10-29T03:44:20.363Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-29T03:44:20.364Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-29 03:44:20.365191000 UTC +00:00,
:updated_at => 2026-10-29 03:44:20.365191000 UTC +00:00
}
# {
:id => 9409,
:wallet_id => 5482,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3939,
"purchased_at" => "2026-10-29T03:44:22.959Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-29T03:44:22.961Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 03:44:22.961821000 UTC +00:00,
:updated_at => 2026-10-29 03:44:22.961821000 UTC +00:00
}
# {
:id => 9410,
:wallet_id => 5482,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3940,
"purchased_at" => "2026-10-29T03:44:24.696Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-29T03:44:24.698Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 03:44:24.699674000 UTC +00:00,
:updated_at => 2026-10-29 03:44:24.699674000 UTC +00:00
}
# {
:id => 9411,
:wallet_id => 5482,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-29 03:44:26.760948000 UTC +00:00,
:updated_at => 2026-10-29 03:44:26.760948000 UTC +00:00
}
# {
:id => 9412,
:wallet_id => 5482,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-29 03:45:29.510109000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-29 03:44:29.512323000 UTC +00:00,
:updated_at => 2026-10-29 03:44:29.512323000 UTC +00:00
}