UsageCredits::Fulfillment (3)
# {
:id => 3603,
:wallet_id => 3439,
:source_type => "Pay::Charge",
:source_id => 2354,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-04 08:46:06.824462000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2354,
"purchased_at" => "2026-04-04T08:46:06.802Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-04 08:46:06.828690000 UTC +00:00,
:updated_at => 2026-04-04 08:46:06.828690000 UTC +00:00
}
# {
:id => 3604,
:wallet_id => 3439,
:source_type => "Pay::Subscription",
:source_id => 1250,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-04-04 08:46:10.732728000 UTC +00:00,
:next_fulfillment_at => 2026-05-04 08:46:10.718976000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1250,
"plan" => "abcdef123456"
},
:created_at => 2026-04-04 08:46:10.734034000 UTC +00:00,
:updated_at => 2026-04-04 08:46:10.734034000 UTC +00:00
}
# {
:id => 3605,
:wallet_id => 3439,
:source_type => "Pay::Charge",
:source_id => 2355,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-04 18:22:24.572790000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2355,
"purchased_at" => "2026-04-04T18:22:24.562Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-04 18:22:24.573456000 UTC +00:00,
:updated_at => 2026-04-04 18:22:24.573456000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 5927,
:wallet_id => 3439,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2354,
"purchased_at" => "2026-04-04T08:46:06.802Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-04T08:46:06.807Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-04 08:46:06.819483000 UTC +00:00,
:updated_at => 2026-04-04 08:46:06.819483000 UTC +00:00
}
# {
:id => 5928,
:wallet_id => 3439,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-05-04 08:51:10.718976000 UTC +00:00,
:fulfillment_id => 3604,
:metadata => {
"subscription_id" => 1250,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-04-04T08:46:10.727Z"
},
:created_at => 2026-04-04 08:46:10.729400000 UTC +00:00,
:updated_at => 2026-04-04 08:46:10.729400000 UTC +00:00
}
# {
:id => 5929,
:wallet_id => 3439,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-04-04 15:01:48.623017000 UTC +00:00,
:updated_at => 2026-04-04 15:01:48.623017000 UTC +00:00
}
# {
:id => 5930,
:wallet_id => 3439,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2355,
"purchased_at" => "2026-04-04T18:22:24.562Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-04T18:22:24.567Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-04 18:22:24.569722000 UTC +00:00,
:updated_at => 2026-04-04 18:22:24.569722000 UTC +00:00
}
# {
:id => 5931,
:wallet_id => 3439,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-04-04 18:33:10.952260000 UTC +00:00,
:updated_at => 2026-04-04 18:33:10.952260000 UTC +00:00
}