#amol_08238
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- amol_08238, 2 days ago, 5 messages
- amol_08238, 4 days ago, 4 messages
- amol_08238, 5 days ago, 5 messages
- amol_08238, 5 days ago, 6 messages
subscription id is sub_1O2U7CCCtT389lEbyca09DVo and customer id is cus_OqASqoWbE0eEfW
hey
thanks for sharing, checking...
sorry let me change the ids
cus_P5WwZB1ngFcgya
sub_1OHLsTCCtT389lEbgbeZUHwQ
I posted wrong ids before.
Can you share the request youa re making ?
Stripe.apiKey = stripeConfig.getApiKey();
List<String> expandList = new ArrayList<>();
expandList.add("subscriptions");
Map<String, Object> params = new HashMap<>();
params.put("expand", expandList);
customer = Customer.retrieve(stripeCustomerId, params, null);
Can you share the resulting request Id ?
here is json received in response
<com.stripe.model.Customer@159905798 id=cus_Ouk4BXCFw3tLeg> JSON: {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"balance": 0,
"cash_balance": null,
"created": 1698668939,
"currency": "usd",
"default_source": null,
"deleted": null,
"delinquent": false,
"description": null,
"discount": null,
"email": "amol+test088@trustnota.com",
"id": "cus_Ouk4BXCFw3tLeg",
"invoice_credit_balance": null,
"invoice_prefix": "D13A85BA",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {},
"name": "Amol 088 bank failure",
"next_invoice_sequence": 1,
"object": "customer",
"phone": null,
"preferred_locales": [
"en-GB",
"en"
],
"shipping": null,
"sources": null,
"subscriptions": {
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/customers/cus_Ouk4BXCFw3tLeg/subscriptions",
"request_params": null
},
"tax": null,
"tax_exempt": "none",
"tax_ids": null,
"test_clock": null
}
The customer id is cus_Ouk4BXCFw3tLeg it's different to the ones you've shared with me
Double check the Customer Id you are passing
oh there is some confusion on my end only then. Sorry to bother, I will check and reopen thread if some issue