UsageCredits::Fulfillment (4)
# {
:id => 3587,
:wallet_id => 3415,
:source_type => "Pay::Subscription",
:source_id => 1246,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-03-30 22:17:54.013002000 UTC +00:00,
:next_fulfillment_at => 2026-04-30 22:17:54.005458000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1246,
"plan" => "abcdef123456"
},
:created_at => 2026-03-30 22:17:54.013650000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.013650000 UTC +00:00
}
# {
:id => 3588,
:wallet_id => 3415,
:source_type => "Pay::Charge",
:source_id => 2342,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-30 22:17:54.475336000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2342,
"purchased_at" => "2026-03-30T22:17:54.469Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-30 22:17:54.475866000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.475866000 UTC +00:00
}
# {
:id => 3589,
:wallet_id => 3415,
:source_type => "Pay::Charge",
:source_id => 2343,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-30 22:17:54.977376000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2343,
"purchased_at" => "2026-03-30T22:17:54.972Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 22:17:54.977908000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.977908000 UTC +00:00
}
# {
:id => 3590,
:wallet_id => 3415,
:source_type => "Pay::Charge",
:source_id => 2344,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-30 22:17:55.149808000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2344,
"purchased_at" => "2026-03-30T22:17:55.145Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 22:17:55.150273000 UTC +00:00,
:updated_at => 2026-03-30 22:17:55.150273000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 5899,
:wallet_id => 3415,
:amount => 10,
:category => "bonus",
:expires_at => 2026-03-30 22:18:53.676892000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-03-30 22:17:53.681829000 UTC +00:00,
:updated_at => 2026-03-30 22:17:53.681829000 UTC +00:00
}
# {
:id => 5900,
:wallet_id => 3415,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-04-30 22:22:54.005458000 UTC +00:00,
:fulfillment_id => 3587,
:metadata => {
"subscription_id" => 1246,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-03-30T22:17:54.008Z"
},
:created_at => 2026-03-30 22:17:54.010464000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.010464000 UTC +00:00
}
# {
:id => 5901,
:wallet_id => 3415,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-03-30 22:17:54.269369000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.269369000 UTC +00:00
}
# {
:id => 5902,
:wallet_id => 3415,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2342,
"purchased_at" => "2026-03-30T22:17:54.469Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-30T22:17:54.472Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-30 22:17:54.473574000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.473574000 UTC +00:00
}
# {
:id => 5903,
:wallet_id => 3415,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-03-30 22:17:54.725244000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.725244000 UTC +00:00
}
# {
:id => 5904,
:wallet_id => 3415,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2343,
"purchased_at" => "2026-03-30T22:17:54.972Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-30T22:17:54.974Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 22:17:54.975739000 UTC +00:00,
:updated_at => 2026-03-30 22:17:54.975739000 UTC +00:00
}
# {
:id => 5905,
:wallet_id => 3415,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2344,
"purchased_at" => "2026-03-30T22:17:55.145Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-30T22:17:55.147Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-03-30 22:17:55.148441000 UTC +00:00,
:updated_at => 2026-03-30 22:17:55.148441000 UTC +00:00
}