#kanohian

1 messages · Page 1 of 1 (latest)

lofty sageBOT
olive lance
#

What do you mean by credit card cc?

dull belfry
#

Hello

#

credit card number the customer used to pay for the subscription

#

I need to send a slack notification on subscription created, containing 4 last digits of the customer credit

olive lance
#

Gotcha - when you retrieve the Subscription you can expand latest_invoice.payment_intent.payment_method and check latest_invoice.payment_intent.payment_method.card.last4

dull belfry
#

awesome my bro

#

thanks a lot