#MielGarcia

1 messages · Page 1 of 1 (latest)

thin quiverBOT
safe anvil
#

Could you share an example invoice ID (in_xxx) that you're describing to?

raw salmon
#

Hi River. this ID is not available when I'm fetching the invoices 1MXYMCAtQnjR4Z0zQnyUx34A

#

in_1MXYMCAtQnjR4Z0zQnyUx34A

#

this is the sample of my curl request.

tardy lodge
#

Hi @raw salmon you mean you can't retrieve the invoice?

raw salmon
#

Yes. When I retrieve all the invoice. that invoice is not included

tardy lodge
#

The max number for limit is 100

raw salmon
#

it still does not exceed 100.

#

I noticed that missing invoice is from the invoice that the payment failed the first time. For example, if the invoice payment failed, the stripe will try again upto 5days if I'm not mistaken? Say, after second try the payment is successful. And when I fetch all the invoices that invoice is not included in the list. I'm not sure if I was able to explain it clearly.

tardy lodge
#

The list API will return invoice of all status unless otherwise specified, so I don't think a failed payment will cause it removed from the invoice list

raw salmon
#

I can provide that tomorrow. Because my partner who have access in the dashboard is now offline.

#

Can you help me figure out the best epoch time (created_gte and created_lte) for this invoice in_1MXYMCAtQnjR4Z0zQnyUx34A?

#

is this the field that the created filter is checking?

  "created": 1675465668,
tardy lodge
#

Yes.

heady badger
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!