#kid-usagerecords-dotnet
1 messages · Page 1 of 1 (latest)
hello! pasting your msg below:
Hello Striped humans. I am implementing a billing system using the Stripe .NET C# SDK and need to use the UsageRecordService's create method (https://stripe.com/docs/api/usage_records/create). However, the C# library has an extra required parameter called ParentId. I can't see any mention of the Parent Id in the stripe docs, was wondering if anybody could explain what it represents / what I should pass into the param?
Thanks heaps team 🙏
Hello! Looking at this now...
The ParentId you're referring to is the Subscription Item ID the usage record belongs to. See here for an example: https://stripe.com/docs/api/usage_records/create?lang=dotnet
@brazen totem