UsageCredits::Fulfillment (2)
# {
:id => 3433,
:wallet_id => 3281,
:source_type => "Pay::Subscription",
:source_id => 1199,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-03-10 18:41:22.092052000 UTC +00:00,
:next_fulfillment_at => 2026-04-10 18:41:22.080220000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1199,
"plan" => "abcdef123456"
},
:created_at => 2026-03-10 18:41:22.095769000 UTC +00:00,
:updated_at => 2026-03-10 18:41:22.095769000 UTC +00:00
}
# {
:id => 3434,
:wallet_id => 3281,
:source_type => "Pay::Charge",
:source_id => 2235,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-10 18:41:33.824042000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2235,
"purchased_at" => "2026-03-10T18:41:33.814Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-10 18:41:33.825025000 UTC +00:00,
:updated_at => 2026-03-10 18:41:33.825025000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 5632,
:wallet_id => 3281,
:amount => 10,
:category => "bonus",
:expires_at => 2026-03-10 18:42:18.005965000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-03-10 18:41:18.021656000 UTC +00:00,
:updated_at => 2026-03-10 18:41:18.021656000 UTC +00:00
}
# {
:id => 5633,
:wallet_id => 3281,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-04-10 18:46:22.080220000 UTC +00:00,
:fulfillment_id => 3433,
:metadata => {
"subscription_id" => 1199,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-03-10T18:41:22.088Z"
},
:created_at => 2026-03-10 18:41:22.089973000 UTC +00:00,
:updated_at => 2026-03-10 18:41:22.089973000 UTC +00:00
}
# {
:id => 5634,
:wallet_id => 3281,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-03-10 18:41:23.054189000 UTC +00:00,
:updated_at => 2026-03-10 18:41:23.054189000 UTC +00:00
}
# {
:id => 5635,
:wallet_id => 3281,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2235,
"purchased_at" => "2026-03-10T18:41:33.814Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-10T18:41:33.817Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-10 18:41:33.822399000 UTC +00:00,
:updated_at => 2026-03-10 18:41:33.822399000 UTC +00:00
}
# {
:id => 5636,
:wallet_id => 3281,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-03-10 18:41:35.744536000 UTC +00:00,
:updated_at => 2026-03-10 18:41:35.744536000 UTC +00:00
}