UsageCredits::Fulfillment (4)
# {
:id => 5337,
:wallet_id => 5091,
:source_type => "Pay::Subscription",
:source_id => 1698,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-29 01:12:05.111785000 UTC +00:00,
:next_fulfillment_at => 2026-10-29 01:12:05.107850000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1698,
"plan" => "abcdef123456"
},
:created_at => 2026-09-29 01:12:05.112291000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.112291000 UTC +00:00
}
# {
:id => 5338,
:wallet_id => 5091,
:source_type => "Pay::Charge",
:source_id => 3640,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-29 01:12:05.124536000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3640,
"purchased_at" => "2026-09-29T01:12:05.121Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-29 01:12:05.124811000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.124811000 UTC +00:00
}
# {
:id => 5339,
:wallet_id => 5091,
:source_type => "Pay::Charge",
:source_id => 3641,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-29 01:12:05.136797000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3641,
"purchased_at" => "2026-09-29T01:12:05.134Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-29 01:12:05.137063000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.137063000 UTC +00:00
}
# {
:id => 5340,
:wallet_id => 5091,
:source_type => "Pay::Charge",
:source_id => 3642,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-29 01:12:05.146522000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3642,
"purchased_at" => "2026-09-29T01:12:05.142Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-29 01:12:05.146777000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.146777000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 8789,
:wallet_id => 5091,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-29 01:17:05.107850000 UTC +00:00,
:fulfillment_id => 5337,
:metadata => {
"subscription_id" => 1698,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-29T01:12:05.109Z"
},
:created_at => 2026-09-29 01:12:05.110315000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.110315000 UTC +00:00
}
# {
:id => 8790,
:wallet_id => 5091,
:amount => 10,
:category => "bonus",
:expires_at => 2026-09-29 01:13:05.116829000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-09-29 01:12:05.118201000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.118201000 UTC +00:00
}
# {
:id => 8791,
:wallet_id => 5091,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3640,
"purchased_at" => "2026-09-29T01:12:05.121Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-29T01:12:05.122Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-29 01:12:05.123696000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.123696000 UTC +00:00
}
# {
:id => 8792,
:wallet_id => 5091,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-29 01:12:05.127808000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.127808000 UTC +00:00
}
# {
:id => 8793,
:wallet_id => 5091,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-09-29 01:12:05.131169000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.131169000 UTC +00:00
}
# {
:id => 8794,
:wallet_id => 5091,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3641,
"purchased_at" => "2026-09-29T01:12:05.134Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-29T01:12:05.135Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-29 01:12:05.135980000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.135980000 UTC +00:00
}
# {
:id => 8795,
:wallet_id => 5091,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3642,
"purchased_at" => "2026-09-29T01:12:05.142Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-29T01:12:05.143Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-29 01:12:05.144909000 UTC +00:00,
:updated_at => 2026-09-29 01:12:05.144909000 UTC +00:00
}