Block · Arazzo Workflow
Block Square Full Commerce Flow
Version 1.0.0
Resolve a location, create a customer, place an order, take payment, and verify it.
View Spec
View on GitHub
CommerceCryptocurrencyeCommerceFintechPaymentsPoint Of SaleSquareArazzoWorkflows
Provider
Workflows
full-commerce-flow
Location, customer, order, payment, and payment verification end to end.
Lists locations and uses the first one to create a customer, open an order with the supplied line items, charge the supplied source for the order amount, and finally re-read the payment to confirm its settled status.
1
listLocations
list-locations
List the seller's locations and select the first for the sale.
2
createCustomer
create-customer
Create the customer profile the order and payment are attributed to.
3
createOrder
create-order
Open an order at the resolved location with the supplied line items.
4
createPayment
create-payment
Charge the supplied source for the order amount at the location.
5
verifyPayment
get-payment
Read the created payment back by id to confirm its settled status.