#ayeshaikh_7
1 messages · Page 1 of 1 (latest)
https://stripe.com/docs/api/invoices/pay have you checked the API reference ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes
Also any identifier to differentiate between invoices paid through the hosted link and the ones charged automatically through api /pay
Not directly. To differentiate them, you can set a metadata (https://stripe.com/docs/api/invoices/update#update_invoice-metadata) on the invoices that you pay programmatically
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Um that won't help in my case because,if the invoice payment which was supposed to be charged programmatically fails, I send the same invoice s hosted link to the customer to pay...
Anything else I could use?
Before you send the invoice to the customer, you can remove the metadata.