#tsonev

1 messages · Page 1 of 1 (latest)

loud starBOT
tidal snow
#

Hi there!

#

This is not possible by default with the API.
But if you contact Stripe support, they might give you access to a feature that allows to set custom number on invoices.
To contact Stripe support: https://support.stripe.com/contact

opaque plover
#

Yes, I spoke with them already and they said it's not possible through the Dashboard, but it's achievable through the API.

#

(10:14:14 AM) Dimitar Tsonev: Yes, I think this can be achieved using Webhooks and API call to modify the invoice number, right ? I am thinking about an AWS Lambda function which will be used as the strapi webhook, then in that lambda function call Strapi API to modify the invoice number. The webhook(lambda) should be called when an invoice is created. Does that sound like a good approach or you have something better in your mind ?
(10:16:02 AM) Michelle: You're correct. The only solution I see here is to integrate a third party that can do this task.

tidal snow
opaque plover
#

Yeah, that's what I saw looking at the create/update API methods 😦 not field for invoice number. Bummer!

tidal snow
#

Yes. But like I said, you could try asking again on Stripe support, because we do have that feature available for some customers.