UsageCredits::Fulfillment (4)
# {
:id => 5679,
:wallet_id => 5413,
:source_type => "Pay::Subscription",
:source_id => 1778,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-25 07:21:53.961148000 UTC +00:00,
:next_fulfillment_at => 2026-11-25 07:21:53.957763000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1778,
"plan" => "abcdef123456"
},
:created_at => 2026-10-25 07:21:53.961585000 UTC +00:00,
:updated_at => 2026-10-25 07:21:53.961585000 UTC +00:00
}
# {
:id => 5680,
:wallet_id => 5413,
:source_type => "Pay::Charge",
:source_id => 3902,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-25 07:21:55.862937000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3902,
"purchased_at" => "2026-10-25T07:21:55.859Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-25 07:21:55.863244000 UTC +00:00,
:updated_at => 2026-10-25 07:21:55.863244000 UTC +00:00
}
# {
:id => 5681,
:wallet_id => 5413,
:source_type => "Pay::Charge",
:source_id => 3903,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-25 07:21:57.252755000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3903,
"purchased_at" => "2026-10-25T07:21:57.249Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-25 07:21:57.253021000 UTC +00:00,
:updated_at => 2026-10-25 07:21:57.253021000 UTC +00:00
}
# {
:id => 5682,
:wallet_id => 5413,
:source_type => "Pay::Charge",
:source_id => 3904,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-25 07:21:58.620011000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3904,
"purchased_at" => "2026-10-25T07:21:58.617Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-25 07:21:58.620265000 UTC +00:00,
:updated_at => 2026-10-25 07:21:58.620265000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 9335,
:wallet_id => 5413,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-25 07:26:53.957763000 UTC +00:00,
:fulfillment_id => 5679,
:metadata => {
"subscription_id" => 1778,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-25T07:21:53.959Z"
},
:created_at => 2026-10-25 07:21:53.960139000 UTC +00:00,
:updated_at => 2026-10-25 07:21:53.960139000 UTC +00:00
}
# {
:id => 9336,
:wallet_id => 5413,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3902,
"purchased_at" => "2026-10-25T07:21:55.859Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-25T07:21:55.861Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-25 07:21:55.862041000 UTC +00:00,
:updated_at => 2026-10-25 07:21:55.862041000 UTC +00:00
}
# {
:id => 9337,
:wallet_id => 5413,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3903,
"purchased_at" => "2026-10-25T07:21:57.249Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-25T07:21:57.250Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-25 07:21:57.251783000 UTC +00:00,
:updated_at => 2026-10-25 07:21:57.251783000 UTC +00:00
}
# {
:id => 9338,
:wallet_id => 5413,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3904,
"purchased_at" => "2026-10-25T07:21:58.617Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-25T07:21:58.618Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-25 07:21:58.619191000 UTC +00:00,
:updated_at => 2026-10-25 07:21:58.619191000 UTC +00:00
}
# {
:id => 9339,
:wallet_id => 5413,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-10-25 07:22:00.388983000 UTC +00:00,
:updated_at => 2026-10-25 07:22:00.388983000 UTC +00:00
}
# {
:id => 9340,
:wallet_id => 5413,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-25 07:22:02.257971000 UTC +00:00,
:updated_at => 2026-10-25 07:22:02.257971000 UTC +00:00
}
# {
:id => 9341,
:wallet_id => 5413,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-25 07:23:03.574441000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-25 07:22:03.576410000 UTC +00:00,
:updated_at => 2026-10-25 07:22:03.576410000 UTC +00:00
}