UsageCredits::Fulfillment (4)
# {
:id => 5821,
:wallet_id => 5638,
:source_type => "Pay::Subscription",
:source_id => 1811,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-01 23:28:16.999885000 UTC +00:00,
:next_fulfillment_at => 2026-12-01 23:28:16.996288000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1811,
"plan" => "abcdef123456"
},
:created_at => 2026-11-01 23:28:17.000392000 UTC +00:00,
:updated_at => 2026-11-01 23:28:17.000392000 UTC +00:00
}
# {
:id => 5822,
:wallet_id => 5638,
:source_type => "Pay::Charge",
:source_id => 4011,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-02 03:24:06.906487000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4011,
"purchased_at" => "2026-11-02T03:24:06.902Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-02 03:24:06.906919000 UTC +00:00,
:updated_at => 2026-11-02 03:24:06.906919000 UTC +00:00
}
# {
:id => 5823,
:wallet_id => 5638,
:source_type => "Pay::Charge",
:source_id => 4012,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-02 03:24:18.195994000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4012,
"purchased_at" => "2026-11-02T03:24:18.192Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-02 03:24:18.196313000 UTC +00:00,
:updated_at => 2026-11-02 03:24:18.196313000 UTC +00:00
}
# {
:id => 5824,
:wallet_id => 5638,
:source_type => "Pay::Charge",
:source_id => 4013,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-02 03:24:56.868796000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4013,
"purchased_at" => "2026-11-02T03:24:56.865Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-02 03:24:56.869091000 UTC +00:00,
:updated_at => 2026-11-02 03:24:56.869091000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 9558,
:wallet_id => 5638,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-01 23:33:16.996288000 UTC +00:00,
:fulfillment_id => 5821,
:metadata => {
"subscription_id" => 1811,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-01T23:28:16.997Z"
},
:created_at => 2026-11-01 23:28:16.998644000 UTC +00:00,
:updated_at => 2026-11-01 23:28:16.998644000 UTC +00:00
}
# {
:id => 9559,
:wallet_id => 5638,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4011,
"purchased_at" => "2026-11-02T03:24:06.902Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-02T03:24:06.904Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-02 03:24:06.905228000 UTC +00:00,
:updated_at => 2026-11-02 03:24:06.905228000 UTC +00:00
}
# {
:id => 9560,
:wallet_id => 5638,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4012,
"purchased_at" => "2026-11-02T03:24:18.192Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-02T03:24:18.194Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-02 03:24:18.195003000 UTC +00:00,
:updated_at => 2026-11-02 03:24:18.195003000 UTC +00:00
}
# {
:id => 9561,
:wallet_id => 5638,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4013,
"purchased_at" => "2026-11-02T03:24:56.865Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-02T03:24:56.866Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-02 03:24:56.867806000 UTC +00:00,
:updated_at => 2026-11-02 03:24:56.867806000 UTC +00:00
}