#Sapna Verma
1 messages · Page 1 of 1 (latest)
Hi there!
If the invoice belongs to a subscription, then it will have the subscription property set: https://stripe.com/docs/api/invoices/object?lang=curl#invoice_object-subscription
can u please tell me - how will you know that u use left side parameters on Invoice object or the right side box
What do you mean by "left side" and "right side"?
I was looking for subscription parameter in the right side response object
on the page the link of which u sent to me
i thought i should use the invoice object as that will be treturned
The right of the page is an example of the API response. What you should focus on is the left side which are all the parameters available.
account_country": "US",
"account_name": "Stripe.com",
"account_tax_ids": null,
"amount_due": 1399,
"amount_paid": 0,
"amount_remaining": 1399,
"amount_shipping": 0,
"application": null,
"application_fee_amount": null,
"attempt_count": 0,
"attempted": false, are the parameters not present on the left side...just to be clear
i get ot
sorry for bothering
theyare all at the left side
No worries 🙂