UsageCredits::Fulfillment (4)
# {
:id => 4391,
:wallet_id => 4214,
:source_type => "Pay::Charge",
:source_id => 2931,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-09 12:18:48.600952000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2931,
"purchased_at" => "2026-07-09T12:18:48.590Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-09 12:18:48.601467000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.601467000 UTC +00:00
}
# {
:id => 4392,
:wallet_id => 4214,
:source_type => "Pay::Charge",
:source_id => 2932,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-09 12:18:48.619520000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2932,
"purchased_at" => "2026-07-09T12:18:48.614Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-09 12:18:48.620458000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.620458000 UTC +00:00
}
# {
:id => 4393,
:wallet_id => 4214,
:source_type => "Pay::Charge",
:source_id => 2933,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-09 12:18:48.832315000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2933,
"purchased_at" => "2026-07-09T12:18:48.827Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-09 12:18:48.832830000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.832830000 UTC +00:00
}
# {
:id => 4394,
:wallet_id => 4214,
:source_type => "Pay::Subscription",
:source_id => 1461,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-07-09 12:18:48.846314000 UTC +00:00,
:next_fulfillment_at => 2026-08-09 12:18:48.841666000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1461,
"plan" => "abcdef123456"
},
:created_at => 2026-07-09 12:18:48.846899000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.846899000 UTC +00:00
}
UsageCredits::Transaction (8)
# {
:id => 7259,
:wallet_id => 4214,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2931,
"purchased_at" => "2026-07-09T12:18:48.590Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-09T12:18:48.593Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-09 12:18:48.595335000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.595335000 UTC +00:00
}
# {
:id => 7260,
:wallet_id => 4214,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-09 12:18:48.608530000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.608530000 UTC +00:00
}
# {
:id => 7261,
:wallet_id => 4214,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2932,
"purchased_at" => "2026-07-09T12:18:48.614Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-09T12:18:48.616Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-09 12:18:48.617350000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.617350000 UTC +00:00
}
# {
:id => 7262,
:wallet_id => 4214,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2933,
"purchased_at" => "2026-07-09T12:18:48.827Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-09T12:18:48.829Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-09 12:18:48.830860000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.830860000 UTC +00:00
}
# {
:id => 7263,
:wallet_id => 4214,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-08-09 12:23:48.841666000 UTC +00:00,
:fulfillment_id => 4394,
:metadata => {
"subscription_id" => 1461,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-07-09T12:18:48.843Z"
},
:created_at => 2026-07-09 12:18:48.844922000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.844922000 UTC +00:00
}
# {
:id => 7264,
:wallet_id => 4214,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-07-09 12:18:48.855051000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.855051000 UTC +00:00
}
# {
:id => 7265,
:wallet_id => 4214,
:amount => 10,
:category => "bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-09 12:18:48.940536000 UTC +00:00,
:updated_at => 2026-07-09 12:18:48.940536000 UTC +00:00
}
# {
:id => 7266,
:wallet_id => 4214,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-09 13:50:14.478764000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-09 13:49:14.485233000 UTC +00:00,
:updated_at => 2026-07-09 13:49:14.485233000 UTC +00:00
}