x

How do I charge new users or first time users?

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

455 Views
Message 1 of 2
Report
1 REPLY 1
Square Community Moderator

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!

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
412 Views
Message 2 of 2
Report