#pascal_lin-Invoice

1 messages · Page 1 of 1 (latest)

shrewd field
karmic eagle
#

do you mean I have to get the bank card from invoice -> payment_intent -> payment_method -> card

shrewd field
karmic eagle
#

okay, I have tried it and it worked, thanks

#

though I have to add extra two request😂

shrewd field
#

Did you use expanding resource?

#

Calling Retrieve Invoice API and passing expand = ["payment_intent.payment_method.card"]? I believe you can expand up to 4 levels

karmic eagle
#

you make me realised that I must miss something...

shrewd field
#

You still can expand from that. Sorry for the API Reference