UsageCredits::Fulfillment (4)
# {
:id => 5198,
:wallet_id => 4924,
:source_type => "Pay::Subscription",
:source_id => 1665,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-15 07:01:33.040815000 UTC +00:00,
:next_fulfillment_at => 2026-10-15 07:01:33.027987000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1665,
"plan" => "abcdef123456"
},
:created_at => 2026-09-15 07:01:33.044686000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.044686000 UTC +00:00
}
# {
:id => 5199,
:wallet_id => 4924,
:source_type => "Pay::Charge",
:source_id => 3534,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-15 07:01:33.302795000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3534,
"purchased_at" => "2026-09-15T07:01:33.297Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-15 07:01:33.303789000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.303789000 UTC +00:00
}
# {
:id => 5200,
:wallet_id => 4924,
:source_type => "Pay::Charge",
:source_id => 3535,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-15 07:01:33.450925000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3535,
"purchased_at" => "2026-09-15T07:01:33.444Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-15 07:01:33.451497000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.451497000 UTC +00:00
}
# {
:id => 5201,
:wallet_id => 4924,
:source_type => "Pay::Charge",
:source_id => 3536,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-15 07:01:33.575238000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3536,
"purchased_at" => "2026-09-15T07:01:33.567Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-15 07:01:33.575833000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.575833000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 8564,
:wallet_id => 4924,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-15 07:06:33.027987000 UTC +00:00,
:fulfillment_id => 5198,
:metadata => {
"subscription_id" => 1665,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-15T07:01:33.036Z"
},
:created_at => 2026-09-15 07:01:33.038131000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.038131000 UTC +00:00
}
# {
:id => 8565,
:wallet_id => 4924,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3534,
"purchased_at" => "2026-09-15T07:01:33.297Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-15T07:01:33.298Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-15 07:01:33.300906000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.300906000 UTC +00:00
}
# {
:id => 8566,
:wallet_id => 4924,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3535,
"purchased_at" => "2026-09-15T07:01:33.444Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-15T07:01:33.447Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-15 07:01:33.448801000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.448801000 UTC +00:00
}
# {
:id => 8567,
:wallet_id => 4924,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3536,
"purchased_at" => "2026-09-15T07:01:33.567Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-15T07:01:33.571Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-15 07:01:33.572827000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.572827000 UTC +00:00
}
# {
:id => 8568,
:wallet_id => 4924,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-09-15 07:01:33.733740000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.733740000 UTC +00:00
}
# {
:id => 8569,
:wallet_id => 4924,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-15 07:01:33.856313000 UTC +00:00,
:updated_at => 2026-09-15 07:01:33.856313000 UTC +00:00
}
# {
:id => 8570,
:wallet_id => 4924,
:amount => 10,
:category => "bonus",
:expires_at => 2026-09-15 07:02:34.004470000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-09-15 07:01:34.009698000 UTC +00:00,
:updated_at => 2026-09-15 07:01:34.009698000 UTC +00:00
}