UsageCredits::Fulfillment (4)
# {
:id => 4508,
:wallet_id => 4293,
:source_type => "Pay::Subscription",
:source_id => 1495,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-07-17 01:34:46.493131000 UTC +00:00,
:next_fulfillment_at => 2026-08-17 01:34:46.481892000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1495,
"plan" => "abcdef123456"
},
:created_at => 2026-07-17 01:34:46.496878000 UTC +00:00,
:updated_at => 2026-07-17 01:34:46.496878000 UTC +00:00
}
# {
:id => 4509,
:wallet_id => 4293,
:source_type => "Pay::Charge",
:source_id => 3014,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-17 01:34:46.628301000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3014,
"purchased_at" => "2026-07-17T01:34:46.615Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-17 01:34:46.629566000 UTC +00:00,
:updated_at => 2026-07-17 01:34:46.629566000 UTC +00:00
}
# {
:id => 4510,
:wallet_id => 4293,
:source_type => "Pay::Charge",
:source_id => 3015,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-17 01:34:47.050349000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3015,
"purchased_at" => "2026-07-17T01:34:47.037Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-17 01:34:47.051161000 UTC +00:00,
:updated_at => 2026-07-17 01:34:47.051161000 UTC +00:00
}
# {
:id => 4511,
:wallet_id => 4293,
:source_type => "Pay::Charge",
:source_id => 3016,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-17 01:34:47.251332000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3016,
"purchased_at" => "2026-07-17T01:34:47.245Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-17 01:34:47.251834000 UTC +00:00,
:updated_at => 2026-07-17 01:34:47.251834000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 7455,
:wallet_id => 4293,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-08-17 01:39:46.481892000 UTC +00:00,
:fulfillment_id => 4508,
:metadata => {
"subscription_id" => 1495,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-07-17T01:34:46.489Z"
},
:created_at => 2026-07-17 01:34:46.490914000 UTC +00:00,
:updated_at => 2026-07-17 01:34:46.490914000 UTC +00:00
}
# {
:id => 7456,
:wallet_id => 4293,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3014,
"purchased_at" => "2026-07-17T01:34:46.615Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-17T01:34:46.620Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-17 01:34:46.625063000 UTC +00:00,
:updated_at => 2026-07-17 01:34:46.625063000 UTC +00:00
}
# {
:id => 7457,
:wallet_id => 4293,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-07-17 01:34:46.981785000 UTC +00:00,
:updated_at => 2026-07-17 01:34:46.981785000 UTC +00:00
}
# {
:id => 7458,
:wallet_id => 4293,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3015,
"purchased_at" => "2026-07-17T01:34:47.037Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-17T01:34:47.044Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-17 01:34:47.047737000 UTC +00:00,
:updated_at => 2026-07-17 01:34:47.047737000 UTC +00:00
}
# {
:id => 7459,
:wallet_id => 4293,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-17 01:35:47.221716000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-17 01:34:47.228140000 UTC +00:00,
:updated_at => 2026-07-17 01:34:47.228140000 UTC +00:00
}
# {
:id => 7460,
:wallet_id => 4293,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3016,
"purchased_at" => "2026-07-17T01:34:47.245Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-17T01:34:47.248Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-17 01:34:47.249893000 UTC +00:00,
:updated_at => 2026-07-17 01:34:47.249893000 UTC +00:00
}
# {
:id => 7461,
:wallet_id => 4293,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-17 01:34:47.438081000 UTC +00:00,
:updated_at => 2026-07-17 01:34:47.438081000 UTC +00:00
}