capabilities.work

Place Order with Balance Check

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

Recipe · 3 steps

Place Order with Balance Check

with Tango

Verify the account balance covers the reward, then place and confirm the order.

  1. Read the funding account to capture its current balance before deciding whether to place the order.
  2. Place the reward order now that the account balance has been confirmed to cover the reward amount.
  3. Read the order back by reference id to confirm its status.
What you'll need to have ready
  • customerIdentifier: Customer that owns the funding account.
  • accountIdentifier: Account whose balance funds the reward.
  • amount: Value of the reward in the account currency.
  • utid: Universal Token ID of the reward product to send.
  • recipientName: Name of the reward recipient.
  • recipientEmail: Email address of the reward recipient.
  • senderName: Name of the reward sender.
  • senderEmail: Email address of the reward sender.
For your developer

Arazzo workflow tango:place-order-with-balance-check, 3 operations: getAccount → createOrder → getOrder. Specs on APIs.io.