UsageCredits::Fulfillment (3)
# {
:id => 3680,
:wallet_id => 3507,
:source_type => "Pay::Charge",
:source_id => 2411,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-11 12:15:56.211533000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2411,
"purchased_at" => "2026-04-11T12:15:56.205Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-04-11 12:15:56.212103000 UTC +00:00,
:updated_at => 2026-04-11 12:15:56.212103000 UTC +00:00
}
# {
:id => 3681,
:wallet_id => 3507,
:source_type => "Pay::Subscription",
:source_id => 1270,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-04-11 13:41:07.166737000 UTC +00:00,
:next_fulfillment_at => 2026-05-11 13:41:07.160310000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1270,
"plan" => "abcdef123456"
},
:created_at => 2026-04-11 13:41:07.168267000 UTC +00:00,
:updated_at => 2026-04-11 13:41:07.168267000 UTC +00:00
}
# {
:id => 3682,
:wallet_id => 3507,
:source_type => "Pay::Charge",
:source_id => 2412,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-11 18:30:07.700566000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2412,
"purchased_at" => "2026-04-11T18:30:07.689Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-11 18:30:07.701141000 UTC +00:00,
:updated_at => 2026-04-11 18:30:07.701141000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 6054,
:wallet_id => 3507,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2411,
"purchased_at" => "2026-04-11T12:15:56.205Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-11T12:15:56.207Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-04-11 12:15:56.209390000 UTC +00:00,
:updated_at => 2026-04-11 12:15:56.209390000 UTC +00:00
}
# {
:id => 6055,
:wallet_id => 3507,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-05-11 13:46:07.160310000 UTC +00:00,
:fulfillment_id => 3681,
:metadata => {
"subscription_id" => 1270,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-04-11T13:41:07.163Z"
},
:created_at => 2026-04-11 13:41:07.165194000 UTC +00:00,
:updated_at => 2026-04-11 13:41:07.165194000 UTC +00:00
}
# {
:id => 6056,
:wallet_id => 3507,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2412,
"purchased_at" => "2026-04-11T18:30:07.689Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-11T18:30:07.697Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-11 18:30:07.698739000 UTC +00:00,
:updated_at => 2026-04-11 18:30:07.698739000 UTC +00:00
}