#ebellotpu6
1 messages · Page 1 of 1 (latest)
Can you share an example search request and an example result you'd expect it to include?
Query = "metadata['centerId']:'ES_Barcelona_1' AND metadata['invoiceType']:'invoice' AND metadata['storageId']:'30'"
Can you share the request id of the search request you made?
the subscription object that has id: sub_1MjlG8Ad02IkV8oW0Gis21Sv
eg: req_123
where I can find it?
How are you making the search requests?
You should be able to see the request in your dashboard logs: https://dashboard.stripe.com/test/logs/
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
from my api .net core
Here's an example: https://dashboard.stripe.com/test/logs/req_NVJ4hNa9qBJImF
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So let's consider that
req_WBityygtzVImEW
Stripe.StripeConfiguration.ApiKey = apiKey; try { var options = new SubscriptionSearchOptions { Query = $"metadata['centerId']:'{centerId}' AND " + $"metadata['invoiceType']:'invoice' AND " + $"metadata['storageId']:'{storageId}'" }; var service = new SubscriptionService(); var subscriptions = await service.SearchAsync(options); return subscriptions.Data; } catch (Exception) { return null; }
The query for https://dashboard.stripe.com/test/logs/req_WBityygtzVImEW appears to be correct and matching the metadata of the subscription you identified
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You're suggesting the results are empty?
yes
What happens if you remove some of those filters, for example just use one like your storageId
let me try