UsageCredits::Fulfillment (3)
# {
:id => 5045,
:wallet_id => 4781,
:source_type => "Pay::Subscription",
:source_id => 1632,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-02 16:36:16.411294000 UTC +00:00,
:next_fulfillment_at => 2026-10-02 16:36:16.397796000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1632,
"plan" => "abcdef123456"
},
:created_at => 2026-09-02 16:36:16.415073000 UTC +00:00,
:updated_at => 2026-09-02 16:36:16.415073000 UTC +00:00
}
# {
:id => 5046,
:wallet_id => 4781,
:source_type => "Pay::Charge",
:source_id => 3414,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-02 23:04:58.171434000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3414,
"purchased_at" => "2026-09-02T23:04:58.098Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-02 23:04:58.181803000 UTC +00:00,
:updated_at => 2026-09-02 23:04:58.181803000 UTC +00:00
}
# {
:id => 5049,
:wallet_id => 4781,
:source_type => "Pay::Charge",
:source_id => 3416,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-03 02:11:37.347881000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3416,
"purchased_at" => "2026-09-03T02:11:37.334Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-03 02:11:37.348773000 UTC +00:00,
:updated_at => 2026-09-03 02:11:37.348773000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 8341,
:wallet_id => 4781,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-02 16:41:16.397796000 UTC +00:00,
:fulfillment_id => 5045,
:metadata => {
"subscription_id" => 1632,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-02T16:36:16.407Z"
},
:created_at => 2026-09-02 16:36:16.409403000 UTC +00:00,
:updated_at => 2026-09-02 16:36:16.409403000 UTC +00:00
}
# {
:id => 8342,
:wallet_id => 4781,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3414,
"purchased_at" => "2026-09-02T23:04:58.098Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-02T23:04:58.131Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-02 23:04:58.152768000 UTC +00:00,
:updated_at => 2026-09-02 23:04:58.152768000 UTC +00:00
}
# {
:id => 8346,
:wallet_id => 4781,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3416,
"purchased_at" => "2026-09-03T02:11:37.334Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-03T02:11:37.344Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-03 02:11:37.345446000 UTC +00:00,
:updated_at => 2026-09-03 02:11:37.345446000 UTC +00:00
}