UsageCredits::Fulfillment (3)
# {
:id => 3770,
:wallet_id => 3600,
:source_type => "Pay::Subscription",
:source_id => 1291,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-04-21 10:06:34.902193000 UTC +00:00,
:next_fulfillment_at => 2026-05-21 10:06:34.895029000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1291,
"plan" => "abcdef123456"
},
:created_at => 2026-04-21 10:06:34.902885000 UTC +00:00,
:updated_at => 2026-04-21 10:06:34.902885000 UTC +00:00
}
# {
:id => 3771,
:wallet_id => 3600,
:source_type => "Pay::Charge",
:source_id => 2480,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-21 10:13:50.887529000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2480,
"purchased_at" => "2026-04-21T10:13:50.880Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-04-21 10:13:50.888144000 UTC +00:00,
:updated_at => 2026-04-21 10:13:50.888144000 UTC +00:00
}
# {
:id => 3772,
:wallet_id => 3600,
:source_type => "Pay::Charge",
:source_id => 2481,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-21 10:17:41.399974000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2481,
"purchased_at" => "2026-04-21T10:17:41.391Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-21 10:17:41.400927000 UTC +00:00,
:updated_at => 2026-04-21 10:17:41.400927000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 6210,
:wallet_id => 3600,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-05-21 10:11:34.895029000 UTC +00:00,
:fulfillment_id => 3770,
:metadata => {
"subscription_id" => 1291,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-04-21T10:06:34.897Z"
},
:created_at => 2026-04-21 10:06:34.899342000 UTC +00:00,
:updated_at => 2026-04-21 10:06:34.899342000 UTC +00:00
}
# {
:id => 6211,
:wallet_id => 3600,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-04-21 10:10:13.355371000 UTC +00:00,
:updated_at => 2026-04-21 10:10:13.355371000 UTC +00:00
}
# {
:id => 6212,
:wallet_id => 3600,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2480,
"purchased_at" => "2026-04-21T10:13:50.880Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-21T10:13:50.882Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-04-21 10:13:50.884163000 UTC +00:00,
:updated_at => 2026-04-21 10:13:50.884163000 UTC +00:00
}
# {
:id => 6213,
:wallet_id => 3600,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2481,
"purchased_at" => "2026-04-21T10:17:41.391Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-21T10:17:41.395Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-21 10:17:41.397098000 UTC +00:00,
:updated_at => 2026-04-21 10:17:41.397098000 UTC +00:00
}
# {
:id => 6214,
:wallet_id => 3600,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-04-21 10:21:40.099089000 UTC +00:00,
:updated_at => 2026-04-21 10:21:40.099089000 UTC +00:00
}
# {
:id => 6215,
:wallet_id => 3600,
:amount => 10,
:category => "bonus",
:expires_at => 2026-04-21 10:26:15.852400000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-04-21 10:25:15.855253000 UTC +00:00,
:updated_at => 2026-04-21 10:25:15.855253000 UTC +00:00
}