I'm looking through the square developer documentation and I can not find how to charge new users by their card number. Only users whose cards are already on file. Which is great, but not for setting up for first-time customers. Can you all help me in that direction?
I am using the python square API from https://developer.squareup.com/reference/square/payments-api/create-payment
Hey @tycoo,
I personally don't have experience with anything API related but I reached out to our dedicated API team with your question and got this answer:
They will need to implement the Square Payment Form to generate a nonce, which can be used with the CreatePayment endpoint (that they referenced/linked). https://developer.squareup.com/docs/payment-form/overview
Let me know if this clears things up!
Square Community