UsageCredits::Fulfillment (4)
# {
:id => 5733,
:wallet_id => 5487,
:source_type => "Pay::Subscription",
:source_id => 1790,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-29 07:25:13.981730000 UTC +00:00,
:next_fulfillment_at => 2026-11-29 07:25:13.978537000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1790,
"plan" => "abcdef123456"
},
:created_at => 2026-10-29 07:25:13.982145000 UTC +00:00,
:updated_at => 2026-10-29 07:25:13.982145000 UTC +00:00
}
# {
:id => 5734,
:wallet_id => 5487,
:source_type => "Pay::Charge",
:source_id => 3944,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-29 07:25:20.043892000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3944,
"purchased_at" => "2026-10-29T07:25:20.040Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 07:25:20.044207000 UTC +00:00,
:updated_at => 2026-10-29 07:25:20.044207000 UTC +00:00
}
# {
:id => 5735,
:wallet_id => 5487,
:source_type => "Pay::Charge",
:source_id => 3945,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-29 07:25:22.017517000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3945,
"purchased_at" => "2026-10-29T07:25:22.014Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 07:25:22.017830000 UTC +00:00,
:updated_at => 2026-10-29 07:25:22.017830000 UTC +00:00
}
# {
:id => 5736,
:wallet_id => 5487,
:source_type => "Pay::Charge",
:source_id => 3946,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-29 07:25:24.085431000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3946,
"purchased_at" => "2026-10-29T07:25:24.082Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-29 07:25:24.085726000 UTC +00:00,
:updated_at => 2026-10-29 07:25:24.085726000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 9420,
:wallet_id => 5487,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-29 07:30:13.978537000 UTC +00:00,
:fulfillment_id => 5733,
:metadata => {
"subscription_id" => 1790,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-29T07:25:13.979Z"
},
:created_at => 2026-10-29 07:25:13.980733000 UTC +00:00,
:updated_at => 2026-10-29 07:25:13.980733000 UTC +00:00
}
# {
:id => 9421,
:wallet_id => 5487,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-29 07:25:15.966938000 UTC +00:00,
:updated_at => 2026-10-29 07:25:15.966938000 UTC +00:00
}
# {
:id => 9422,
:wallet_id => 5487,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-10-29 07:25:17.945212000 UTC +00:00,
:updated_at => 2026-10-29 07:25:17.945212000 UTC +00:00
}
# {
:id => 9423,
:wallet_id => 5487,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3944,
"purchased_at" => "2026-10-29T07:25:20.040Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-29T07:25:20.041Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 07:25:20.042886000 UTC +00:00,
:updated_at => 2026-10-29 07:25:20.042886000 UTC +00:00
}
# {
:id => 9424,
:wallet_id => 5487,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3945,
"purchased_at" => "2026-10-29T07:25:22.014Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-29T07:25:22.015Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-29 07:25:22.016472000 UTC +00:00,
:updated_at => 2026-10-29 07:25:22.016472000 UTC +00:00
}
# {
:id => 9425,
:wallet_id => 5487,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3946,
"purchased_at" => "2026-10-29T07:25:24.082Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-29T07:25:24.083Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-29 07:25:24.084246000 UTC +00:00,
:updated_at => 2026-10-29 07:25:24.084246000 UTC +00:00
}
# {
:id => 9426,
:wallet_id => 5487,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-29 07:26:26.039979000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-29 07:25:26.042358000 UTC +00:00,
:updated_at => 2026-10-29 07:25:26.042358000 UTC +00:00
}