updated Pay operation to use the correct complex type format for TransactionAmount