UsageCredits::Fulfillment (4)
# {
:id => 3341,
:wallet_id => 3231,
:source_type => "Pay::Subscription",
:source_id => 1169,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-02-22 17:48:29.955070000 UTC +00:00,
:next_fulfillment_at => 2026-03-22 17:48:29.951067000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1169,
"plan" => "abcdef123456"
},
:created_at => 2026-02-22 17:48:29.955853000 UTC +00:00,
:updated_at => 2026-02-22 17:48:29.955853000 UTC +00:00
}
# {
:id => 3342,
:wallet_id => 3231,
:source_type => "Pay::Charge",
:source_id => 2173,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-22 17:48:30.549177000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2173,
"purchased_at" => "2026-02-22T17:48:30.543Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-02-22 17:48:30.549715000 UTC +00:00,
:updated_at => 2026-02-22 17:48:30.549715000 UTC +00:00
}
# {
:id => 3343,
:wallet_id => 3231,
:source_type => "Pay::Charge",
:source_id => 2174,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-22 17:48:31.101975000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2174,
"purchased_at" => "2026-02-22T17:48:31.092Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-02-22 17:48:31.102798000 UTC +00:00,
:updated_at => 2026-02-22 17:48:31.102798000 UTC +00:00
}
# {
:id => 3344,
:wallet_id => 3231,
:source_type => "Pay::Charge",
:source_id => 2175,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-22 17:48:31.666796000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2175,
"purchased_at" => "2026-02-22T17:48:31.654Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-02-22 17:48:31.667327000 UTC +00:00,
:updated_at => 2026-02-22 17:48:31.667327000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 5488,
:wallet_id => 3231,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-03-22 17:53:29.951067000 UTC +00:00,
:fulfillment_id => 3341,
:metadata => {
"subscription_id" => 1169,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-02-22T17:48:29.952Z"
},
:created_at => 2026-02-22 17:48:29.953488000 UTC +00:00,
:updated_at => 2026-02-22 17:48:29.953488000 UTC +00:00
}
# {
:id => 5489,
:wallet_id => 3231,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2173,
"purchased_at" => "2026-02-22T17:48:30.543Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-22T17:48:30.546Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-02-22 17:48:30.547563000 UTC +00:00,
:updated_at => 2026-02-22 17:48:30.547563000 UTC +00:00
}
# {
:id => 5490,
:wallet_id => 3231,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2174,
"purchased_at" => "2026-02-22T17:48:31.092Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-22T17:48:31.097Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-02-22 17:48:31.099315000 UTC +00:00,
:updated_at => 2026-02-22 17:48:31.099315000 UTC +00:00
}
# {
:id => 5491,
:wallet_id => 3231,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2175,
"purchased_at" => "2026-02-22T17:48:31.654Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-22T17:48:31.662Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-02-22 17:48:31.663698000 UTC +00:00,
:updated_at => 2026-02-22 17:48:31.663698000 UTC +00:00
}
# {
:id => 5492,
:wallet_id => 3231,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-02-22 17:48:32.249307000 UTC +00:00,
:updated_at => 2026-02-22 17:48:32.249307000 UTC +00:00
}