UsageCredits::Fulfillment (4)
# {
:id => 2500,
:wallet_id => 2523,
:source_type => "Pay::Subscription",
:source_id => 909,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2025-11-05 06:09:00.965378000 UTC +00:00,
:next_fulfillment_at => 2025-12-05 06:09:00.952453000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 909,
"plan" => "abcdef123456"
},
:created_at => 2025-11-05 06:09:00.965982000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.965982000 UTC +00:00
}
# {
:id => 2501,
:wallet_id => 2523,
:source_type => "Pay::Charge",
:source_id => 1592,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-11-05 06:09:00.994795000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 1592,
"purchased_at" => "2025-11-05T06:09:00.990Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2025-11-05 06:09:00.995286000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.995286000 UTC +00:00
}
# {
:id => 2502,
:wallet_id => 2523,
:source_type => "Pay::Charge",
:source_id => 1593,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-11-05 06:09:01.002873000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 1593,
"purchased_at" => "2025-11-05T06:09:00.999Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-11-05 06:09:01.003185000 UTC +00:00,
:updated_at => 2025-11-05 06:09:01.003185000 UTC +00:00
}
# {
:id => 2503,
:wallet_id => 2523,
:source_type => "Pay::Charge",
:source_id => 1594,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-11-05 06:09:01.010071000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 1594,
"purchased_at" => "2025-11-05T06:09:01.006Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-11-05 06:09:01.010471000 UTC +00:00,
:updated_at => 2025-11-05 06:09:01.010471000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 4083,
:wallet_id => 2523,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2025-11-05 06:09:00.704608000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.704608000 UTC +00:00
}
# {
:id => 4084,
:wallet_id => 2523,
:amount => 10,
:category => "bonus",
:expires_at => 2025-11-05 06:10:00.927612000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2025-11-05 06:09:00.929945000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.929945000 UTC +00:00
}
# {
:id => 4085,
:wallet_id => 2523,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2025-11-05 06:09:00.937570000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.937570000 UTC +00:00
}
# {
:id => 4086,
:wallet_id => 2523,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2025-12-05 06:14:00.952453000 UTC +00:00,
:fulfillment_id => 2500,
:metadata => {
"subscription_id" => 909,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2025-11-05T06:09:00.962Z"
},
:created_at => 2025-11-05 06:09:00.963802000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.963802000 UTC +00:00
}
# {
:id => 4087,
:wallet_id => 2523,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 1592,
"purchased_at" => "2025-11-05T06:09:00.990Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-11-05T06:09:00.992Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2025-11-05 06:09:00.993457000 UTC +00:00,
:updated_at => 2025-11-05 06:09:00.993457000 UTC +00:00
}
# {
:id => 4088,
:wallet_id => 2523,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 1593,
"purchased_at" => "2025-11-05T06:09:00.999Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-11-05T06:09:01.000Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-11-05 06:09:01.001766000 UTC +00:00,
:updated_at => 2025-11-05 06:09:01.001766000 UTC +00:00
}
# {
:id => 4089,
:wallet_id => 2523,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 1594,
"purchased_at" => "2025-11-05T06:09:01.006Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-11-05T06:09:01.008Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-11-05 06:09:01.009030000 UTC +00:00,
:updated_at => 2025-11-05 06:09:01.009030000 UTC +00:00
}