UsageCredits::Fulfillment (4)
# {
:id => 4802,
:wallet_id => 4512,
:source_type => "Pay::Subscription",
:source_id => 1569,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-08-09 17:44:21.512192000 UTC +00:00,
:next_fulfillment_at => 2026-09-09 17:44:21.507670000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1569,
"plan" => "abcdef123456"
},
:created_at => 2026-08-09 17:44:21.512819000 UTC +00:00,
:updated_at => 2026-08-09 17:44:21.512819000 UTC +00:00
}
# {
:id => 4803,
:wallet_id => 4512,
:source_type => "Pay::Subscription",
:source_id => 1570,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-08-09 17:44:22.889048000 UTC +00:00,
:next_fulfillment_at => 2026-09-09 17:44:22.883846000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1570,
"plan" => "abcdef123456"
},
:created_at => 2026-08-09 17:44:22.889820000 UTC +00:00,
:updated_at => 2026-08-09 17:44:22.889820000 UTC +00:00
}
# {
:id => 4804,
:wallet_id => 4512,
:source_type => "Pay::Charge",
:source_id => 3234,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-09 17:47:29.702967000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3234,
"purchased_at" => "2026-08-09T17:47:29.697Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-09 17:47:29.703464000 UTC +00:00,
:updated_at => 2026-08-09 17:47:29.703464000 UTC +00:00
}
# {
:id => 4805,
:wallet_id => 4512,
:source_type => "Pay::Charge",
:source_id => 3235,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-09 17:47:31.138043000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3235,
"purchased_at" => "2026-08-09T17:47:31.132Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-09 17:47:31.138916000 UTC +00:00,
:updated_at => 2026-08-09 17:47:31.138916000 UTC +00:00
}
UsageCredits::Transaction (10)
# {
:id => 7959,
:wallet_id => 4512,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-09-09 17:49:21.507670000 UTC +00:00,
:fulfillment_id => 4802,
:metadata => {
"subscription_id" => 1569,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-08-09T17:44:21.509Z"
},
:created_at => 2026-08-09 17:44:21.510767000 UTC +00:00,
:updated_at => 2026-08-09 17:44:21.510767000 UTC +00:00
}
# {
:id => 7960,
:wallet_id => 4512,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-09-09 17:49:22.883846000 UTC +00:00,
:fulfillment_id => 4803,
:metadata => {
"subscription_id" => 1570,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-08-09T17:44:22.885Z"
},
:created_at => 2026-08-09 17:44:22.886972000 UTC +00:00,
:updated_at => 2026-08-09 17:44:22.886972000 UTC +00:00
}
# {
:id => 7961,
:wallet_id => 4512,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3234,
"purchased_at" => "2026-08-09T17:47:29.697Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-09T17:47:29.700Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-09 17:47:29.701370000 UTC +00:00,
:updated_at => 2026-08-09 17:47:29.701370000 UTC +00:00
}
# {
:id => 7962,
:wallet_id => 4512,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3235,
"purchased_at" => "2026-08-09T17:47:31.132Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-09T17:47:31.135Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-09 17:47:31.136358000 UTC +00:00,
:updated_at => 2026-08-09 17:47:31.136358000 UTC +00:00
}
# {
:id => 7963,
:wallet_id => 4512,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-08-09 17:47:33.055096000 UTC +00:00,
:updated_at => 2026-08-09 17:47:33.055096000 UTC +00:00
}
# {
:id => 7964,
:wallet_id => 4512,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-08-09 17:47:34.484674000 UTC +00:00,
:updated_at => 2026-08-09 17:47:34.484674000 UTC +00:00
}
# {
:id => 7965,
:wallet_id => 4512,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-08-09 17:47:52.980800000 UTC +00:00,
:updated_at => 2026-08-09 17:47:52.980800000 UTC +00:00
}
# {
:id => 7966,
:wallet_id => 4512,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-08-09 17:50:34.204049000 UTC +00:00,
:updated_at => 2026-08-09 17:50:34.204049000 UTC +00:00
}
# {
:id => 7967,
:wallet_id => 4512,
:amount => 10,
:category => "bonus",
:expires_at => 2026-08-09 17:51:43.340307000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-08-09 17:50:43.342787000 UTC +00:00,
:updated_at => 2026-08-09 17:50:43.342787000 UTC +00:00
}
# {
:id => 7968,
:wallet_id => 4512,
:amount => 10,
:category => "bonus",
:expires_at => 2026-08-09 17:51:50.436189000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-08-09 17:50:50.439535000 UTC +00:00,
:updated_at => 2026-08-09 17:50:50.439535000 UTC +00:00
}