capabilities.work

Square Take Payment And Verify

A 2-step recipe with Block. We can help you get access.

Recipe · 2 steps

Square Take Payment And Verify

with Block

Create a payment, then read it back to confirm its settled status.

  1. Charge the supplied payment source for the requested amount.
  2. Read the created payment back by id to confirm its final status.
What you'll need to have ready
  • accessToken: Square access token presented as a Bearer credential.
  • locationId: The seller location accepting the payment.
  • sourceId: The payment source id (card nonce or token) to charge.
  • amount: The amount to charge in the smallest currency denomination.
  • currency: The ISO 4217 currency code for the charge.
  • paymentIdempotencyKey: Idempotency key for the create-payment request.
For your developer

Arazzo workflow block:take-payment-and-verify, 2 operations: create-payment → get-payment. Specs on APIs.io.