API Explorer
You are viewing an old version of the API

Create payment

Creates a payment using the provided source.

Open in API Reference

Sign In

Body

Money
string
string
boolean
Money
boolean
Address
string
CashPaymentDetails
string
string
ExternalPaymentDetails
string
string
string
string
Address
string
Money
string
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareupsandbox.com/v2/payments \
  -X POST \
  -H 'Square-Version: 2021-09-15' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response
// No response received yet.

Share feedback

Thanks for visiting the Square API documentation. What's on your mind?