Create a Payment
Learn to make different types of payments using the Square API.
Whenever we buy something, we need to make a payment. We can make the payment via different channels depending on the nature of the purchase.
Online payment: The buyer visits the seller's web or mobile application and makes the payment within that application.
In-person payment: The buyer pays at the seller's physical location using the seller’s POS device, for example, an iPad.
The CreatePayment
endpoint
Square's Payments API provides the CreatePayment
endpoint, which can be used to either direct Square to take payments or record payments processed outside Square. To create any type of payment, we can use the following URL:
Get hands-on with 1400+ tech skills courses.