UsageCredits::Fulfillment (3)
# {
:id => 4571,
:wallet_id => 4343,
:source_type => "Pay::Charge",
:source_id => 3061,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-29 17:22:09.087973000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3061,
"purchased_at" => "2026-07-29T17:22:09.022Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-29 17:22:09.098528000 UTC +00:00,
:updated_at => 2026-07-29 17:22:09.098528000 UTC +00:00
}
# {
:id => 4573,
:wallet_id => 4343,
:source_type => "Pay::Charge",
:source_id => 3063,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-29 17:31:28.646163000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3063,
"purchased_at" => "2026-07-29T17:31:28.637Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-29 17:31:28.646722000 UTC +00:00,
:updated_at => 2026-07-29 17:31:28.646722000 UTC +00:00
}
# {
:id => 4574,
:wallet_id => 4343,
:source_type => "Pay::Subscription",
:source_id => 1511,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-07-29 17:32:43.897169000 UTC +00:00,
:next_fulfillment_at => 2026-08-29 17:32:43.877805000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1511,
"plan" => "abcdef123456"
},
:created_at => 2026-07-29 17:32:43.901095000 UTC +00:00,
:updated_at => 2026-07-29 17:32:43.901095000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 7562,
:wallet_id => 4343,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3061,
"purchased_at" => "2026-07-29T17:22:09.022Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-29T17:22:09.052Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-29 17:22:09.076912000 UTC +00:00,
:updated_at => 2026-07-29 17:22:09.076912000 UTC +00:00
}
# {
:id => 7563,
:wallet_id => 4343,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-29 17:28:22.325854000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-29 17:27:22.331238000 UTC +00:00,
:updated_at => 2026-07-29 17:27:22.331238000 UTC +00:00
}
# {
:id => 7564,
:wallet_id => 4343,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-07-29 17:28:11.836812000 UTC +00:00,
:updated_at => 2026-07-29 17:28:11.836812000 UTC +00:00
}
# {
:id => 7565,
:wallet_id => 4343,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-29 17:31:14.699745000 UTC +00:00,
:updated_at => 2026-07-29 17:31:14.699745000 UTC +00:00
}
# {
:id => 7567,
:wallet_id => 4343,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3063,
"purchased_at" => "2026-07-29T17:31:28.637Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-29T17:31:28.642Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-29 17:31:28.643927000 UTC +00:00,
:updated_at => 2026-07-29 17:31:28.643927000 UTC +00:00
}
# {
:id => 7568,
:wallet_id => 4343,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-08-29 17:37:43.877805000 UTC +00:00,
:fulfillment_id => 4574,
:metadata => {
"subscription_id" => 1511,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-07-29T17:32:43.892Z"
},
:created_at => 2026-07-29 17:32:43.895056000 UTC +00:00,
:updated_at => 2026-07-29 17:32:43.895056000 UTC +00:00
}