#riptired-issuing-card
1 messages · Page 1 of 1 (latest)
You can't. Stripe only gives back the last 4 numbers on the card, the name, and the billing address/zipcode
You use the Payment Method token that gets created when the customer enters their card details.
sorry? is there a diagram for this?
@cinder dagger they mean they are using Issuing, that's what VCC means(virtual credit card)
https://stripe.com/docs/api/issuing/cards/object#issuing_card_object-number has docs on how you get the number.
I don't see it in the attributes -- sorry, I feel like I am blind here? can you point out which attribute I should be looking at in which object?
do you not see it in the docs I linked?
docs are fairly clear I think
I'm also assuming you are indeed talking about using our Issuing product to create and issue your own cards(https://stripe.com/docs/issuing), but I could be wrong and you meant something else by 'VCC', would help if you could expand/clarify.
for Issuing, that is the wrong endpoint yes
that endpoint is for card_xxx objects which are end-customer's cards used to pay. ic_xxx objects which are Issued Cards are a different API
the link I posted links to the correct endpoint when it says "the “Retrieve a card” endpoint" ; it's https://stripe.com/docs/api/issuing/cards/retrieve
yes
ah sorry I didn't see I need to use the expanded param?
to retrieve the actual number
yes
ok great, sorry missed that
This field is not included by default. To include it in the response, expand the number field.
for completeness I'd also mention https://stripe.com/docs/issuing/elements as a way you can show the user the card number without having to get it from the API yourself
okay thanks I just need to use the api to retrieve a card for use in our api
so I don't need to show the user anything