UsageCredits::Fulfillment (4)
# {
:id => 3578,
:wallet_id => 3412,
:source_type => "Pay::Subscription",
:source_id => 1241,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-03-30 08:17:15.758827000 UTC +00:00,
:next_fulfillment_at => 2026-04-30 08:17:15.732105000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1241,
"plan" => "abcdef123456"
},
:created_at => 2026-03-30 08:17:15.769718000 UTC +00:00,
:updated_at => 2026-03-30 08:17:15.769718000 UTC +00:00
}
# {
:id => 3579,
:wallet_id => 3412,
:source_type => "Pay::Charge",
:source_id => 2338,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-30 08:17:16.157733000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2338,
"purchased_at" => "2026-03-30T08:17:16.147Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-30 08:17:16.158811000 UTC +00:00,
:updated_at => 2026-03-30 08:17:16.158811000 UTC +00:00
}
# {
:id => 3580,
:wallet_id => 3412,
:source_type => "Pay::Charge",
:source_id => 2339,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-30 08:17:16.888938000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2339,
"purchased_at" => "2026-03-30T08:17:16.880Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 08:17:16.889349000 UTC +00:00,
:updated_at => 2026-03-30 08:17:16.889349000 UTC +00:00
}
# {
:id => 3581,
:wallet_id => 3412,
:source_type => "Pay::Charge",
:source_id => 2340,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-30 08:17:18.079568000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2340,
"purchased_at" => "2026-03-30T08:17:18.073Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 08:17:18.080887000 UTC +00:00,
:updated_at => 2026-03-30 08:17:18.080887000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 5885,
:wallet_id => 3412,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-04-30 08:22:15.732105000 UTC +00:00,
:fulfillment_id => 3578,
:metadata => {
"subscription_id" => 1241,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-03-30T08:17:15.742Z"
},
:created_at => 2026-03-30 08:17:15.754283000 UTC +00:00,
:updated_at => 2026-03-30 08:17:15.754283000 UTC +00:00
}
# {
:id => 5886,
:wallet_id => 3412,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2338,
"purchased_at" => "2026-03-30T08:17:16.147Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-30T08:17:16.152Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-30 08:17:16.154405000 UTC +00:00,
:updated_at => 2026-03-30 08:17:16.154405000 UTC +00:00
}
# {
:id => 5887,
:wallet_id => 3412,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2339,
"purchased_at" => "2026-03-30T08:17:16.880Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-30T08:17:16.886Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 08:17:16.887651000 UTC +00:00,
:updated_at => 2026-03-30 08:17:16.887651000 UTC +00:00
}
# {
:id => 5888,
:wallet_id => 3412,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2340,
"purchased_at" => "2026-03-30T08:17:18.073Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-30T08:17:18.076Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 08:17:18.077483000 UTC +00:00,
:updated_at => 2026-03-30 08:17:18.077483000 UTC +00:00
}
# {
:id => 5889,
:wallet_id => 3412,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-03-30 08:17:19.049859000 UTC +00:00,
:updated_at => 2026-03-30 08:17:19.049859000 UTC +00:00
}
# {
:id => 5890,
:wallet_id => 3412,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-03-30 08:17:20.074983000 UTC +00:00,
:updated_at => 2026-03-30 08:17:20.074983000 UTC +00:00
}
# {
:id => 5891,
:wallet_id => 3412,
:amount => 10,
:category => "bonus",
:expires_at => 2026-03-30 08:18:20.664817000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-03-30 08:17:20.668136000 UTC +00:00,
:updated_at => 2026-03-30 08:17:20.668136000 UTC +00:00
}