#Chaithanya-credit-note
1 messages · Page 1 of 1 (latest)
Hello, can you share the ID of the API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
How do you have an ID if there was no response?
in stripe it is creating but it is not giving response
var cn_options = new CreditNoteCreateOptions
{
Invoice = invoiceid,
Reason = "order_change",
RefundAmount = Convert.ToInt32(amountForNewMembers * 100),
Lines = new List<CreditNoteLineOptions>
{
new CreditNoteLineOptions
{
Type = "invoice_line_item",
InvoiceLineItem = invoicelineid,
Quantity = numberofUsers,
Amount = Convert.ToInt32(amountForNewMembers * 100),
},
},
};
var cn_service = new CreditNoteService();
cn = await cn_service.CreateAsync(cn_options);
this is my code in C#
Have you wrapped the call in an async task?
oh ok got it.. i will do it now. thanks ...
That's my assumption, anyway! Let me know
ok