UsageCredits::Fulfillment (4)
# {
:id => 5287,
:wallet_id => 5040,
:source_type => "Pay::Subscription",
:source_id => 1688,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-23 20:04:18.780933000 UTC +00:00,
:next_fulfillment_at => 2026-10-23 20:04:18.774728000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1688,
"plan" => "abcdef123456"
},
:created_at => 2026-09-23 20:04:18.781978000 UTC +00:00,
:updated_at => 2026-09-23 20:04:18.781978000 UTC +00:00
}
# {
:id => 5288,
:wallet_id => 5040,
:source_type => "Pay::Charge",
:source_id => 3600,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-23 20:04:22.895270000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3600,
"purchased_at" => "2026-09-23T20:04:22.888Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-23 20:04:22.895776000 UTC +00:00,
:updated_at => 2026-09-23 20:04:22.895776000 UTC +00:00
}
# {
:id => 5289,
:wallet_id => 5040,
:source_type => "Pay::Charge",
:source_id => 3601,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-23 20:04:26.476080000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3601,
"purchased_at" => "2026-09-23T20:04:26.468Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-23 20:04:26.476575000 UTC +00:00,
:updated_at => 2026-09-23 20:04:26.476575000 UTC +00:00
}
# {
:id => 5290,
:wallet_id => 5040,
:source_type => "Pay::Charge",
:source_id => 3602,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-23 20:04:34.236918000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3602,
"purchased_at" => "2026-09-23T20:04:34.231Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-23 20:04:34.237428000 UTC +00:00,
:updated_at => 2026-09-23 20:04:34.237428000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 8710,
:wallet_id => 5040,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-23 20:09:18.774728000 UTC +00:00,
:fulfillment_id => 5287,
:metadata => {
"subscription_id" => 1688,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-23T20:04:18.777Z"
},
:created_at => 2026-09-23 20:04:18.779025000 UTC +00:00,
:updated_at => 2026-09-23 20:04:18.779025000 UTC +00:00
}
# {
:id => 8711,
:wallet_id => 5040,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3600,
"purchased_at" => "2026-09-23T20:04:22.888Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-23T20:04:22.892Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-23 20:04:22.893399000 UTC +00:00,
:updated_at => 2026-09-23 20:04:22.893399000 UTC +00:00
}
# {
:id => 8712,
:wallet_id => 5040,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3601,
"purchased_at" => "2026-09-23T20:04:26.468Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-23T20:04:26.472Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-23 20:04:26.474438000 UTC +00:00,
:updated_at => 2026-09-23 20:04:26.474438000 UTC +00:00
}
# {
:id => 8713,
:wallet_id => 5040,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-09-23 20:04:29.763485000 UTC +00:00,
:updated_at => 2026-09-23 20:04:29.763485000 UTC +00:00
}
# {
:id => 8714,
:wallet_id => 5040,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3602,
"purchased_at" => "2026-09-23T20:04:34.231Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-23T20:04:34.234Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-23 20:04:34.235424000 UTC +00:00,
:updated_at => 2026-09-23 20:04:34.235424000 UTC +00:00
}
# {
:id => 8715,
:wallet_id => 5040,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-23 20:04:37.583953000 UTC +00:00,
:updated_at => 2026-09-23 20:04:37.583953000 UTC +00:00
}
# {
:id => 8716,
:wallet_id => 5040,
:amount => 10,
:category => "bonus",
:expires_at => 2026-09-23 20:05:41.032722000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-09-23 20:04:41.037240000 UTC +00:00,
:updated_at => 2026-09-23 20:04:41.037240000 UTC +00:00
}