#Pravin-source-curl
1 messages · Page 1 of 1 (latest)
Hello 👋
do you mean what does setSource do or are you asking about the tok_mastercard value here?
yes , i am want how we are deciding about source value
let suppose i want to set default card as visa card
how will i get value required to set source as visa card
@stiff oak
do you mean once you collect it from your users or do you just want to test it by using an example token such as tok_visa or something?
yes by collecting from user
You'd want to create a token using the API
https://stripe.com/docs/api/tokens/create_card
let me check