Tango · Arazzo Workflow
Tango Place Order with Balance Check
Version 1.0.0
Check an account balance, then branch to place a reward order only when funds are sufficient.
View Spec
View on GitHub
Catalog ManagementDigital RewardsGift CardsIncentivesLoyaltyRewards As A ServiceArazzoWorkflows
Provider
Workflows
place-order-with-balance-check
Verify the account balance covers the reward, then place and confirm the order.
Reads the account balance and only places the reward order when there are sufficient funds, confirming the order afterward.
1
checkBalance
getAccount
Read the funding account to capture its current balance before deciding whether to place the order.
2
placeOrder
createOrder
Place the reward order now that the account balance has been confirmed to cover the reward amount.
3
confirmOrder
getOrder
Read the order back by reference id to confirm its status.