UsageCredits::Fulfillment (5)
# {
:id => 4187,
:wallet_id => 4000,
:source_type => "Pay::Subscription",
:source_id => 1409,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-06-10 21:31:29.714304000 UTC +00:00,
:next_fulfillment_at => 2026-07-10 21:31:29.681981000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1409,
"plan" => "abcdef123456"
},
:created_at => 2026-06-10 21:31:29.733576000 UTC +00:00,
:updated_at => 2026-06-10 21:31:29.733576000 UTC +00:00
}
# {
:id => 4188,
:wallet_id => 4000,
:source_type => "Pay::Charge",
:source_id => 2779,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-06-11 01:02:57.934326000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2779,
"purchased_at" => "2026-06-11T01:02:57.925Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-06-11 01:02:57.935039000 UTC +00:00,
:updated_at => 2026-06-11 01:02:57.935039000 UTC +00:00
}
# {
:id => 4189,
:wallet_id => 4000,
:source_type => "Pay::Subscription",
:source_id => 1410,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-06-11 01:20:10.040662000 UTC +00:00,
:next_fulfillment_at => 2026-07-11 01:20:10.033071000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1410,
"plan" => "abcdef123456"
},
:created_at => 2026-06-11 01:20:10.041772000 UTC +00:00,
:updated_at => 2026-06-11 01:20:10.041772000 UTC +00:00
}
# {
:id => 4190,
:wallet_id => 4000,
:source_type => "Pay::Charge",
:source_id => 2780,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-06-11 09:21:08.826555000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2780,
"purchased_at" => "2026-06-11T09:21:08.807Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-06-11 09:21:08.831362000 UTC +00:00,
:updated_at => 2026-06-11 09:21:08.831362000 UTC +00:00
}
# {
:id => 4195,
:wallet_id => 4000,
:source_type => "Pay::Charge",
:source_id => 2784,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-06-11 12:24:07.479579000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2784,
"purchased_at" => "2026-06-11T12:24:07.471Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-06-11 12:24:07.480421000 UTC +00:00,
:updated_at => 2026-06-11 12:24:07.480421000 UTC +00:00
}
UsageCredits::Transaction (9)
# {
:id => 6916,
:wallet_id => 4000,
:amount => 10,
:category => "bonus",
:expires_at => 2026-06-10 12:01:46.009549000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-06-10 12:00:46.015244000 UTC +00:00,
:updated_at => 2026-06-10 12:00:46.015244000 UTC +00:00
}
# {
:id => 6917,
:wallet_id => 4000,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-07-10 21:36:29.681981000 UTC +00:00,
:fulfillment_id => 4187,
:metadata => {
"subscription_id" => 1409,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-06-10T21:31:29.705Z"
},
:created_at => 2026-06-10 21:31:29.709119000 UTC +00:00,
:updated_at => 2026-06-10 21:31:29.709119000 UTC +00:00
}
# {
:id => 6918,
:wallet_id => 4000,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2779,
"purchased_at" => "2026-06-11T01:02:57.925Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-06-11T01:02:57.931Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-06-11 01:02:57.933070000 UTC +00:00,
:updated_at => 2026-06-11 01:02:57.933070000 UTC +00:00
}
# {
:id => 6919,
:wallet_id => 4000,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-06-11 01:16:25.727202000 UTC +00:00,
:updated_at => 2026-06-11 01:16:25.727202000 UTC +00:00
}
# {
:id => 6920,
:wallet_id => 4000,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-07-11 01:25:10.033071000 UTC +00:00,
:fulfillment_id => 4189,
:metadata => {
"subscription_id" => 1410,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-06-11T01:20:10.035Z"
},
:created_at => 2026-06-11 01:20:10.037818000 UTC +00:00,
:updated_at => 2026-06-11 01:20:10.037818000 UTC +00:00
}
# {
:id => 6921,
:wallet_id => 4000,
:amount => 10,
:category => "bonus",
:expires_at => 2026-06-11 07:18:50.182374000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-06-11 07:17:50.267249000 UTC +00:00,
:updated_at => 2026-06-11 07:17:50.267249000 UTC +00:00
}
# {
:id => 6922,
:wallet_id => 4000,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2780,
"purchased_at" => "2026-06-11T09:21:08.807Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-06-11T09:21:08.820Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-06-11 09:21:08.823231000 UTC +00:00,
:updated_at => 2026-06-11 09:21:08.823231000 UTC +00:00
}
# {
:id => 6930,
:wallet_id => 4000,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2784,
"purchased_at" => "2026-06-11T12:24:07.471Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-06-11T12:24:07.475Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-06-11 12:24:07.476859000 UTC +00:00,
:updated_at => 2026-06-11 12:24:07.476859000 UTC +00:00
}
# {
:id => 6931,
:wallet_id => 4000,
:amount => 10,
:category => "bonus",
:expires_at => 2026-06-11 16:27:04.813180000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-06-11 16:26:04.821051000 UTC +00:00,
:updated_at => 2026-06-11 16:26:04.821051000 UTC +00:00
}