Square

Generated from:

Create a POST request to the Square API to create a payment

Request

POST

URL

https://connect.squareup.com/v2/payments

Headers

AuthorizationBearer {{SQUARE_ACCESS_TOKEN}}
Content-Typeapplication/json

Body

{"amount_money":{"amount":1000,"currency":"USD"},"source_id":"{{SOURCE_ID}}","idempotency_key":"{{IDEMPOTENCY_KEY}}","note":"Payment for order #12345"}

This request was generated from:

Create a POST request to the Square API to create a payment

Generate your own →

Type any API. Get a production-ready request. No login required.