UsageCredits::Fulfillment (5)
# {
:id => 6010,
:wallet_id => 5818,
:source_type => "Pay::Subscription",
:source_id => 1860,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-13 18:47:23.622999000 UTC +00:00,
:next_fulfillment_at => 2026-12-13 18:47:23.619445000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1860,
"plan" => "abcdef123456"
},
:created_at => 2026-11-13 18:47:23.624284000 UTC +00:00,
:updated_at => 2026-11-13 18:47:23.624284000 UTC +00:00
}
# {
:id => 6011,
:wallet_id => 5818,
:source_type => "Pay::Charge",
:source_id => 4151,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-13 18:47:25.897805000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4151,
"purchased_at" => "2026-11-13T18:47:25.894Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-13 18:47:25.898127000 UTC +00:00,
:updated_at => 2026-11-13 18:47:25.898127000 UTC +00:00
}
# {
:id => 6012,
:wallet_id => 5818,
:source_type => "Pay::Charge",
:source_id => 4152,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-13 18:47:28.687273000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4152,
"purchased_at" => "2026-11-13T18:47:28.682Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-13 18:47:28.687705000 UTC +00:00,
:updated_at => 2026-11-13 18:47:28.687705000 UTC +00:00
}
# {
:id => 6013,
:wallet_id => 5818,
:source_type => "Pay::Charge",
:source_id => 4153,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-13 18:47:33.307451000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4153,
"purchased_at" => "2026-11-13T18:47:33.301Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-13 18:47:33.307858000 UTC +00:00,
:updated_at => 2026-11-13 18:47:33.307858000 UTC +00:00
}
# {
:id => 6014,
:wallet_id => 5818,
:source_type => "Pay::Charge",
:source_id => 4154,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-13 21:13:01.183615000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4154,
"purchased_at" => "2026-11-13T21:13:01.176Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-13 21:13:01.184839000 UTC +00:00,
:updated_at => 2026-11-13 21:13:01.184839000 UTC +00:00
}
UsageCredits::Transaction (8)
# {
:id => 9833,
:wallet_id => 5818,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-13 18:52:23.619445000 UTC +00:00,
:fulfillment_id => 6010,
:metadata => {
"subscription_id" => 1860,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-13T18:47:23.620Z"
},
:created_at => 2026-11-13 18:47:23.621975000 UTC +00:00,
:updated_at => 2026-11-13 18:47:23.621975000 UTC +00:00
}
# {
:id => 9834,
:wallet_id => 5818,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4151,
"purchased_at" => "2026-11-13T18:47:25.894Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-13T18:47:25.895Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-13 18:47:25.896672000 UTC +00:00,
:updated_at => 2026-11-13 18:47:25.896672000 UTC +00:00
}
# {
:id => 9835,
:wallet_id => 5818,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4152,
"purchased_at" => "2026-11-13T18:47:28.682Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-13T18:47:28.683Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-13 18:47:28.684876000 UTC +00:00,
:updated_at => 2026-11-13 18:47:28.684876000 UTC +00:00
}
# {
:id => 9836,
:wallet_id => 5818,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4153,
"purchased_at" => "2026-11-13T18:47:33.301Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-13T18:47:33.302Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-13 18:47:33.304979000 UTC +00:00,
:updated_at => 2026-11-13 18:47:33.304979000 UTC +00:00
}
# {
:id => 9837,
:wallet_id => 5818,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-13 18:47:35.975094000 UTC +00:00,
:updated_at => 2026-11-13 18:47:35.975094000 UTC +00:00
}
# {
:id => 9838,
:wallet_id => 5818,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-13 18:47:39.376490000 UTC +00:00,
:updated_at => 2026-11-13 18:47:39.376490000 UTC +00:00
}
# {
:id => 9839,
:wallet_id => 5818,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-13 18:48:45.241183000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-13 18:47:45.243635000 UTC +00:00,
:updated_at => 2026-11-13 18:47:45.243635000 UTC +00:00
}
# {
:id => 9840,
:wallet_id => 5818,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4154,
"purchased_at" => "2026-11-13T21:13:01.176Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-13T21:13:01.180Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-13 21:13:01.181259000 UTC +00:00,
:updated_at => 2026-11-13 21:13:01.181259000 UTC +00:00
}