UsageCredits::Fulfillment (4)
# {
:id => 4021,
:wallet_id => 3860,
:source_type => "Pay::Subscription",
:source_id => 1363,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-05-20 09:37:31.501825000 UTC +00:00,
:next_fulfillment_at => 2026-06-20 09:37:31.497859000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1363,
"plan" => "abcdef123456"
},
:created_at => 2026-05-20 09:37:31.502462000 UTC +00:00,
:updated_at => 2026-05-20 09:37:31.502462000 UTC +00:00
}
# {
:id => 4022,
:wallet_id => 3860,
:source_type => "Pay::Charge",
:source_id => 2659,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-20 09:37:33.361746000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2659,
"purchased_at" => "2026-05-20T09:37:33.352Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-20 09:37:33.362512000 UTC +00:00,
:updated_at => 2026-05-20 09:37:33.362512000 UTC +00:00
}
# {
:id => 4023,
:wallet_id => 3860,
:source_type => "Pay::Charge",
:source_id => 2660,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-20 09:37:34.620006000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2660,
"purchased_at" => "2026-05-20T09:37:34.615Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-20 09:37:34.620429000 UTC +00:00,
:updated_at => 2026-05-20 09:37:34.620429000 UTC +00:00
}
# {
:id => 4024,
:wallet_id => 3860,
:source_type => "Pay::Charge",
:source_id => 2661,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-20 09:37:35.985951000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2661,
"purchased_at" => "2026-05-20T09:37:35.980Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-05-20 09:37:35.986471000 UTC +00:00,
:updated_at => 2026-05-20 09:37:35.986471000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 6634,
:wallet_id => 3860,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-06-20 09:42:31.497859000 UTC +00:00,
:fulfillment_id => 4021,
:metadata => {
"subscription_id" => 1363,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-05-20T09:37:31.499Z"
},
:created_at => 2026-05-20 09:37:31.500291000 UTC +00:00,
:updated_at => 2026-05-20 09:37:31.500291000 UTC +00:00
}
# {
:id => 6635,
:wallet_id => 3860,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2659,
"purchased_at" => "2026-05-20T09:37:33.352Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-20T09:37:33.356Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-20 09:37:33.359116000 UTC +00:00,
:updated_at => 2026-05-20 09:37:33.359116000 UTC +00:00
}
# {
:id => 6636,
:wallet_id => 3860,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2660,
"purchased_at" => "2026-05-20T09:37:34.615Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-20T09:37:34.617Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-20 09:37:34.618388000 UTC +00:00,
:updated_at => 2026-05-20 09:37:34.618388000 UTC +00:00
}
# {
:id => 6637,
:wallet_id => 3860,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2661,
"purchased_at" => "2026-05-20T09:37:35.980Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-20T09:37:35.983Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-05-20 09:37:35.984411000 UTC +00:00,
:updated_at => 2026-05-20 09:37:35.984411000 UTC +00:00
}
# {
:id => 6638,
:wallet_id => 3860,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-05-20 09:37:37.385448000 UTC +00:00,
:updated_at => 2026-05-20 09:37:37.385448000 UTC +00:00
}