API Explorer
You are viewing an old version of the API

Pay order

Pay for an order using one or more approved payments, or settle an order with a total of 0.

Open in API Reference

Sign In

Parameters

string

Body

string
integer
string[]
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareupsandbox.com/v2/orders/{order_id}/pay \
  -X POST \
  -H 'Square-Version: 2021-03-17' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response
// No response received yet.