Pay order
documentedPays for an order.
POST /v2/orders/{order_id}/payOrdersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://connect.squareup.com/v2/orders/{{$order_id}}/pay" \
-X POST \
-H "Square-Version: 2026-01-22" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"idempotency_key": "{{$idempotency_key}}", "order_version": {{$order_version}}, "payment_ids": ["{{$payment_id_1}}", "{{$payment_id_2}}"]}'