UsageCredits::Fulfillment (4)
# {
:id => 6034,
:wallet_id => 5831,
:source_type => "Pay::Subscription",
:source_id => 1865,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-15 11:28:04.736306000 UTC +00:00,
:next_fulfillment_at => 2026-12-15 11:28:04.723465000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1865,
"plan" => "abcdef123456"
},
:created_at => 2026-11-15 11:28:04.737390000 UTC +00:00,
:updated_at => 2026-11-15 11:28:04.737390000 UTC +00:00
}
# {
:id => 6037,
:wallet_id => 5831,
:source_type => "Pay::Charge",
:source_id => 4171,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-15 12:00:02.360982000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4171,
"purchased_at" => "2026-11-15T12:00:02.353Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-15 12:00:02.362802000 UTC +00:00,
:updated_at => 2026-11-15 12:00:02.362802000 UTC +00:00
}
# {
:id => 6038,
:wallet_id => 5831,
:source_type => "Pay::Charge",
:source_id => 4172,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-15 12:05:07.936079000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4172,
"purchased_at" => "2026-11-15T12:05:07.926Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-15 12:05:07.938498000 UTC +00:00,
:updated_at => 2026-11-15 12:05:07.938498000 UTC +00:00
}
# {
:id => 6039,
:wallet_id => 5831,
:source_type => "Pay::Subscription",
:source_id => 1867,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-15 14:47:10.530803000 UTC +00:00,
:next_fulfillment_at => 2026-12-15 14:47:10.523584000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1867,
"plan" => "abcdef123456"
},
:created_at => 2026-11-15 14:47:10.532336000 UTC +00:00,
:updated_at => 2026-11-15 14:47:10.532336000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 9873,
:wallet_id => 5831,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-15 11:33:04.723465000 UTC +00:00,
:fulfillment_id => 6034,
:metadata => {
"subscription_id" => 1865,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-15T11:28:04.729Z"
},
:created_at => 2026-11-15 11:28:04.733850000 UTC +00:00,
:updated_at => 2026-11-15 11:28:04.733850000 UTC +00:00
}
# {
:id => 9876,
:wallet_id => 5831,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-15 11:58:08.098808000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-15 11:57:08.103851000 UTC +00:00,
:updated_at => 2026-11-15 11:57:08.103851000 UTC +00:00
}
# {
:id => 9877,
:wallet_id => 5831,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4171,
"purchased_at" => "2026-11-15T12:00:02.353Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-15T12:00:02.355Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-15 12:00:02.357297000 UTC +00:00,
:updated_at => 2026-11-15 12:00:02.357297000 UTC +00:00
}
# {
:id => 9878,
:wallet_id => 5831,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4172,
"purchased_at" => "2026-11-15T12:05:07.926Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-15T12:05:07.929Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-15 12:05:07.933445000 UTC +00:00,
:updated_at => 2026-11-15 12:05:07.933445000 UTC +00:00
}
# {
:id => 9879,
:wallet_id => 5831,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-15 14:52:10.523584000 UTC +00:00,
:fulfillment_id => 6039,
:metadata => {
"subscription_id" => 1867,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-15T14:47:10.527Z"
},
:created_at => 2026-11-15 14:47:10.529115000 UTC +00:00,
:updated_at => 2026-11-15 14:47:10.529115000 UTC +00:00
}
# {
:id => 9880,
:wallet_id => 5831,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-15 19:19:57.485237000 UTC +00:00,
:updated_at => 2026-11-15 19:19:57.485237000 UTC +00:00
}