capabilities.work

Square Onboard Customer And Charge

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

Recipe · 3 steps

Square Onboard Customer And Charge

with Block

List locations, create a customer, and take a direct payment.

  1. List the seller's locations and select the first for the charge.
  2. Create the customer profile the payment is attributed to.
  3. Charge the supplied source for the amount at the resolved location.
What you'll need to have ready
  • accessToken: Square access token presented as a Bearer credential.
  • givenName: The customer's first name.
  • familyName: The customer's last name.
  • emailAddress: The customer's email address.
  • 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.
  • customerIdempotencyKey: Idempotency key for the create-customer request.
  • paymentIdempotencyKey: Idempotency key for the create-payment request.
For your developer

Arazzo workflow block:onboard-customer-and-charge, 3 operations: list-locations → create-customer → create-payment. Specs on APIs.io.